1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-27 19:04:15 +01:00

Added service containers

This will probably fail
This commit is contained in:
Caleb Stewart 2021-05-30 00:52:51 -04:00
parent 5090c6e6c9
commit 8853e8f4e5

View File

@ -5,10 +5,19 @@ on:
jobs: jobs:
testing: testing:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: ubuntu:latest
strategy: strategy:
matrix: matrix:
python-versions: [3.8,3.9] python-versions: [3.8,3.9]
services:
centos:
image: calebjstewart/pwncat-testing:centos
ubuntu:
image: calebjstewart/pwncat-testing:ubuntu
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
@ -25,5 +34,10 @@ jobs:
# run: | # run: |
# flake8 # flake8
- name: Test with pytest - name: Test with pytest
env:
CENTOS_HOST: "centos"
CENTOS_BIND_PORT: "4444"
UBUNTU_HOST: "ubuntu"
UBUNTU_BIND_PORT: "4444"
run: | run: |
pytest pytest