File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 11name : Nightly Tests
2+ # on:
3+ # schedule:
4+ # - cron: '0 0 * * *'
5+
26on :
3- schedule :
4- - cron : ' 0 0 * * *'
7+ push :
8+ branches :
9+ - main
10+ pull_request :
11+ merge_group :
12+
513
614permissions :
715 actions : read
1119 strategy :
1220 fail-fast : false
1321 matrix :
14- python : [ '3.10' ,'3.11', '3.12', '3.13' ]
22+ python-version : [ '3.10' ,'3.11', '3.12', '3.13' ]
1523 products :
1624 - instance
1725 - k8s
@@ -26,22 +34,21 @@ jobs:
2634 - uses : actions/checkout@v5
2735 - name : Install poetry
2836 run : pipx install poetry
29- - uses : actions/checkout@v4
3037 - name : Setup Python
3138 uses : actions/setup-python@v5
3239 with :
33- python-version : ${{ matrix.python }}
40+ python-version : ${{ matrix.python-version }}
3441 cache : " poetry"
3542 - name : Install dependencies and library
3643 run : poetry install
3744 - name : Run Tests
38- run : poetry run pytest -v --timeout=14400 ./${{ matrix.lib }}/${{ matrix.products }}/
3945 env :
4046 PYTHON_UPDATE_CASSETTES : true
4147 SCW_ACCESS_KEY : ${{ secrets.SCW_ACCESS_KEY }}
4248 SCW_SECRET_KEY : ${{ secrets.SCW_SECRET_KEY }}
4349 SCW_DEFAULT_ORGANIZATION_ID : ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
4450 SCW_DEFAULT_PROJECT_ID : ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
51+ run : poetry run pytest -v --timeout=14400 ./${{ matrix.lib }}/${{ matrix.products }}/
4552 - name : Ping on failure
4653 if : ${{ failure() }}
4754 run : |
You can’t perform that action at this time.
0 commit comments