Skip to content

Commit

Permalink
Check building of wheel and bundle of app in all environments.
Browse files Browse the repository at this point in the history
Fix test of documentation: There was a old call of make with the message "make: Nothing to be done for 'doc'." because the makefile was removed with gcovr#516.
  • Loading branch information
Spacetown committed Mar 8, 2023
1 parent 00806b4 commit d46b351
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/test.yml
Expand Up @@ -181,13 +181,19 @@ jobs:
if: ${{ env.USE_COVERAGE == 'true' }}
run: |
codecov --flags ${{ matrix.os }} -X gcov search
- name: Generate documentation
run: |
nox --non-interactive --session doc
- name: Test bundle of app
run: |
nox --non-interactive --session bundle_app
if: ${{ ! startsWith(matrix.python-version,'pypy') }}
- name: Generate documentation
- name: Build wheel
run: |
nox --non-interactive --session build_wheel
- name: Check wheel
run: |
make doc
nox --non-interactive --session check_wheel
run-docker:
runs-on: ubuntu-22.04
Expand All @@ -206,9 +212,21 @@ jobs:
- name: Build Docker
run: |
python3 -m nox --non-interactive --session "docker_build_compiler(${{ matrix.gcc }})"
- name: Run session lint in container
- name: Lint files (in container)
run: |
python3 -m nox --non-interactive --session "docker_run_compiler(${{ matrix.gcc }})" -- --session lint
- name: Run session test in container
- name: Test with pytest (in container)
run: |
python3 -m nox --non-interactive --session "docker_run_compiler(${{ matrix.gcc }})" -- --session tests
- name: Generate documentation (in container)
run: |
python3 -m nox --non-interactive --session "docker_run_compiler(${{ matrix.gcc }})" -- --session doc
- name: Test bundle of app (in container)
run: |
python3 -m nox --non-interactive --session "docker_run_compiler(${{ matrix.gcc }})" -- --session bundle_app
- name: Build wheel (in container)
run: |
python3 -m nox --non-interactive --session "docker_run_compiler(${{ matrix.gcc }})" -- --session build_wheel
- name: Check wheel (in container)
run: |
python3 -m nox --non-interactive --session "docker_run_compiler(${{ matrix.gcc }})" -- --session check_wheel

0 comments on commit d46b351

Please sign in to comment.