We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 961c593 commit 5ce72a8Copy full SHA for 5ce72a8
1 file changed
.github/workflows/test.yml
@@ -1,7 +1,7 @@
1
name: Test
2
3
on:
4
- workflow_call:
+ workflow_call: # Adiciona suporte para workflow reutilizável
5
push:
6
branches: [ "master" ]
7
pull_request:
@@ -15,17 +15,17 @@ jobs:
15
- uses: actions/checkout@v4
16
17
- name: Set up Python
18
- uses: actions/setup-python@v5
+ uses: actions/setup-python@v5 # Atualizado para v5
19
with:
20
python-version: '3.10'
21
22
- name: Install uv
23
- uses: astral-sh/setup-uv@v4
+ uses: astral-sh/setup-uv@v4 # Usando a action oficial do uv
24
25
- name: Install dependencies
26
run: |
27
- uv sync --dev
28
- uv pip install pytest pytest-cov
+ uv sync --dev
+ uv add --group dev pytest pytest-cov
29
30
- name: Run tests
31
- run: uv run pytest -vv --cov=yake tests/
+ run: uv run python -m pytest -vv --cov=yake tests/
0 commit comments