From 8853e8f4e5def32759df4f5ecc3d8f1f788cf07d Mon Sep 17 00:00:00 2001 From: Caleb Stewart Date: Sun, 30 May 2021 00:52:51 -0400 Subject: [PATCH] Added service containers This will probably fail --- .github/workflows/python.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index e34ccbd..a0167cf 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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