Skip to content

Commit 5ce72a8

Browse files
committed
Update test.yml
1 parent 961c593 commit 5ce72a8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Test
22

33
on:
4-
workflow_call:
4+
workflow_call: # Adiciona suporte para workflow reutilizável
55
push:
66
branches: [ "master" ]
77
pull_request:
@@ -15,17 +15,17 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: Set up Python
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@v5 # Atualizado para v5
1919
with:
2020
python-version: '3.10'
2121

2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v4
23+
uses: astral-sh/setup-uv@v4 # Usando a action oficial do uv
2424

2525
- name: Install dependencies
2626
run: |
27-
uv sync --dev
28-
uv pip install pytest pytest-cov
27+
uv sync --dev
28+
uv add --group dev pytest pytest-cov
2929
3030
- name: Run tests
31-
run: uv run pytest -vv --cov=yake tests/
31+
run: uv run python -m pytest -vv --cov=yake tests/

0 commit comments

Comments
 (0)