Skip to content

Commit

Permalink
workflow: add smoke test that runs unit tests as user
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Nov 25, 2024
1 parent a8aa636 commit 402bd7a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,16 @@ jobs:
run: |
OSBUILD_TEST_STORE="${{ env.OSBUILD_TEST_STORE }}" \
tox -e "py36" -- ${{ env.TEST_WORKERS }} test.run.test_assemblers
# Thissmoke test runs the unit tests directly on the runner and as a
# normal user - it is fast (1min) and should detect obvious issues
# (like from pr#1942)
unittests_as_user_smoke:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: "Run as user on default runer"
run: |
# depsolve tests tend to be slow but are easy to parallize
pytest -n 16

0 comments on commit 402bd7a

Please sign in to comment.