Skip to content

fixup! try harder to only run tox unittest #896

fixup! try harder to only run tox unittest

fixup! try harder to only run tox unittest #896

Workflow file for this run

name: Tests
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
# Share the store between the workers speeds things up further
OSBUILD_TEST_STORE: /var/tmp/osbuild-test-store
jobs:
# 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:
name: "Smoke run: unittest as normal user on default runner"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: sudo apt install -y tox
- name: "Run as user on default runer"
run: |
# depsolve tests tend to be slow but are easy to parallize
tox -e py312 -- -n 16