Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcencini committed Oct 6, 2024
1 parent c2a2ff1 commit 850dd94
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,37 @@ on:
branches: [ main ]

jobs:
test:
test2:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [2.6, 2.7, 3.7, 3.8, 3.9, 3.10] # Specify the desired Python versions
python-version: [2.6, 2.7] # Specify the desired Python versions

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v1.0.0
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pip install mock future
pip install .
- name: Run tests
run: python -m unittest discover -s tests


test3:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.10] # Specify the desired Python versions

steps:
- name: Checkout code
Expand All @@ -25,9 +50,6 @@ jobs:

- name: Install dependencies
run: |
if [[ "${{ matrix.python-version }}" == "2.6" || "${{ matrix.python-version }}" == "2.7" ]]; then
pip install mock future
fi
pip install .
- name: Run tests
Expand Down

0 comments on commit 850dd94

Please sign in to comment.