Skip to content

Commit

Permalink
Update test_stub_quality.yml
Browse files Browse the repository at this point in the history
split update and testing in separate steps
  • Loading branch information
Josverl authored Dec 14, 2023
1 parent 20b9df3 commit 0373e63
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test_stub_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ env:
# Setting an environment variable with the value of a configuration variable
SNIPPET_SCORE: ${{ vars.SNIPPET_SCORE }}
GH_TOKEN_VARS: ${{ secrets.GH_TOKEN_VARS }}
# fix: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
JUPYTER_PLATFORM_DIRS: "1"


jobs:
test_snippets:
Expand Down Expand Up @@ -40,14 +43,15 @@ jobs:
run: stubber clone


- name: update the stubs and test the snippets (not pushed)
- name: update the stubs (not pushed)
continue-on-error: true
run: |
pwsh -file ./update-stubs.ps1
- name: Test the snippets
continue-on-error: true
run: |
pwsh -file ./update-stubs.ps1
pytest -m 'snippets' --cache-clear --junitxml=./results/results.xml
env:
JUPYTER_PLATFORM_DIRS: "1"
# fix: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
- name: Testspace push test content
run: |
Expand Down

0 comments on commit 0373e63

Please sign in to comment.