Skip to content

Commit 24eb41f

Browse files
committed
ci: add poetry and fix directory path
1 parent 46fe5eb commit 24eb41f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/nightly.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,28 @@ jobs:
1616
- instance
1717
- k8s
1818
- vpc
19+
lib:
20+
- scaleway
1921
runs-on: ubuntu-latest
22+
defaults:
23+
run:
24+
working-directory: ${{ matrix.lib }}
2025
steps:
26+
- uses: actions/checkout@v5
27+
- name: Install poetry
28+
run: pipx install poetry
2129
- uses: actions/checkout@v4
2230
- name: Setup Python
2331
uses: actions/setup-python@v5
2432
with:
2533
python-version: ${{ matrix.python }}
2634
cache: "poetry"
35+
- name: Install pytest-timeout
36+
run: poetry run pip install pytest-timeout
2737
- name: Install dependencies and library
2838
run: poetry install
2939
- name: Run Tests
30-
run: poetry run pytest -v ./internal/namespaces/${{ matrix.products }}/tests/... -timeout=4h
40+
run: poetry run pytest -v --timeout=14400 ./${{ matrix.lib }}/${{ matrix.products }}/
3141
env:
3242
PYTHON_UPDATE_CASSETTES: true
3343
SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}

0 commit comments

Comments
 (0)