File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -19,23 +19,24 @@ jobs:
1919
2020 steps :
2121 - name : Checkout repository
22- uses : actions/checkout@v4
22+ uses : actions/checkout@v6
2323
2424 - name : Set up Python ${{ matrix.python-version }}
25- uses : actions/setup-python@v5
25+ uses : actions/setup-python@v6
2626 with :
2727 python-version : ${{ matrix.python-version }}
2828
2929
3030 - name : Install dependencies
3131 run : pip install -e .[test]
3232
33- - name : Test with pytest
34- run : |
35- if [ "${{ matrix.python-version }}" == "3.11" ]; then
36- pytest
37- else
38- pytest -k "not example"
39- fi
33+ - name : Run tests
34+ run : pytest -k "not example"
4035 env :
41- API_KEY : ${{secrets.API_KEY}}
36+ API_KEY : ${{ secrets.API_KEY }}
37+
38+ - name : Run example tests
39+ if : matrix.python-version == '3.13'
40+ run : pytest -k "example"
41+ env :
42+ API_KEY : ${{ secrets.API_KEY }}
You can’t perform that action at this time.
0 commit comments