From 3975385cac43043f87c23686fdabf82019bbaf49 Mon Sep 17 00:00:00 2001 From: mcencini Date: Sat, 5 Oct 2024 21:31:15 -0400 Subject: [PATCH] update actions. --- .github/workflows/test-ci.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index ee058ea..eb2beda 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -8,28 +8,24 @@ on: jobs: test2: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: coatldev/six:latest strategy: matrix: - python-version: [2.6, 2.7] # Specify the desired Python versions + python-version: [2.7] # Specify the desired Python versions steps: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies run: | - pip install mock future - pip install . + python2 -m pip install mock future + python2 -m pip install . - name: Run tests - run: python -m unittest discover -s tests + run: python2 -m unittest discover -s tests test3: