Skip to content

Commit 700c0e6

Browse files
authored
ci: remove redundant checkout (scaleway#1209)
1 parent dab7ce7 commit 700c0e6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/nightly.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python: [ '3.10' ,'3.11', '3.12', '3.13' ]
14+
python-version: [ '3.10' ,'3.11', '3.12', '3.13' ]
1515
products:
1616
- instance
1717
- k8s
@@ -26,22 +26,21 @@ jobs:
2626
- uses: actions/checkout@v5
2727
- name: Install poetry
2828
run: pipx install poetry
29-
- uses: actions/checkout@v4
3029
- name: Setup Python
3130
uses: actions/setup-python@v5
3231
with:
33-
python-version: ${{ matrix.python }}
32+
python-version: ${{ matrix.python-version }}
3433
cache: "poetry"
3534
- name: Install dependencies and library
3635
run: poetry install
3736
- name: Run Tests
38-
run: poetry run pytest -v --timeout=14400 ./${{ matrix.lib }}/${{ matrix.products }}/
3937
env:
4038
PYTHON_UPDATE_CASSETTES: true
4139
SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }}
4240
SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}
4341
SCW_DEFAULT_ORGANIZATION_ID: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
4442
SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
43+
run: poetry run pytest -v --timeout=14400 ./${{ matrix.lib }}/${{ matrix.products }}/
4544
- name: Ping on failure
4645
if: ${{ failure() }}
4746
run: |

0 commit comments

Comments
 (0)