1
0
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:
Caleb Stewart 2021-05-30 00:52:51 -04:00
parent 5090c6e6c9
commit 8853e8f4e5

View File

@ -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