mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-24 01:25:37 +01:00
Added service containers
This will probably fail
This commit is contained in:
parent
5090c6e6c9
commit
8853e8f4e5
14
.github/workflows/python.yml
vendored
14
.github/workflows/python.yml
vendored
@ -5,10 +5,19 @@ on:
|
||||
jobs:
|
||||
testing:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-versions: [3.8,3.9]
|
||||
|
||||
services:
|
||||
centos:
|
||||
image: calebjstewart/pwncat-testing:centos
|
||||
ubuntu:
|
||||
image: calebjstewart/pwncat-testing:ubuntu
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
@ -25,5 +34,10 @@ jobs:
|
||||
# run: |
|
||||
# flake8
|
||||
- name: Test with pytest
|
||||
env:
|
||||
CENTOS_HOST: "centos"
|
||||
CENTOS_BIND_PORT: "4444"
|
||||
UBUNTU_HOST: "ubuntu"
|
||||
UBUNTU_BIND_PORT: "4444"
|
||||
run: |
|
||||
pytest
|
||||
|
Loading…
Reference in New Issue
Block a user