Skip to content

Commit 39aac77

Browse files
authored
Merge pull request #3 from buserbrasil/ci
Configura workflow para execução de testes
2 parents 84f6a81 + 1175c4c commit 39aac77

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version:
17+
- "3.11"
18+
- "3.12"
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Install the latest version of uv and set the python version
23+
uses: astral-sh/setup-uv@v5
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
27+
- name: Test with python ${{ matrix.python-version }}
28+
run: uv run --frozen -m pytest

0 commit comments

Comments
 (0)