Skip to content

Commit ae8f917

Browse files
authored
Add python matrix (#1)
* Add python matrix * Remove 2.7 * Atualizar versão do Python para 3.12 no arquivo de configuração de testes * Atualizar versão do Python para 3.10 no arquivo de configuração de testes * Corrigir caminho do diretório de testes no arquivo de configuração * Atualizar dependências de pip no arquivo de configuração de testes
1 parent 46bfc4f commit ae8f917

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/tests.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,23 @@ jobs:
66
build:
77
name: Run Tests
88
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
912

1013
steps:
11-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1215

13-
- name: Set up Python 3.8
16+
- name: Set up Python ${{ matrix.python-version }}
1417
uses: actions/setup-python@v2
1518
with:
16-
python-version: 3.8
19+
python-version: ${{ matrix.python-version }}
1720

1821
- name: Install dependencies
1922
run: |
20-
python -m pip install --upgrade pip
23+
python -m pip install --upgrade pip setuptools wheel
2124
pip install .
2225
2326
- name: Run tests
2427
run: |
25-
pytest tests/
28+
pytest test/

0 commit comments

Comments
 (0)