Compare commits

..
Author SHA1 Message Date
ae67387451
test-packaging.yaml: Add step "Build in repository"
Run "make all" in the repository source before packaging and tests.
That's the state in-repo tests should find before running, and
indeed, as of now some in-repo tests don't run correctly due to
missing __init__py files generated during build.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-25 17:28:50 +02:00
1f607d922f
test-packaging.yaml: Add in-tree integration tests
Add a post-build step which runs integration tests against the source
code repository (as opposed to against the installed package).

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-25 14:50:27 +02:00
6c7e2e223e
test-packaging.yaml: Split build step up further
- Split build step up further

    - Dependency installation
    - Static pre-check
    - Actual package build

  - Omit pkg-build installation step for jw-pkg

    Don't build and install jw-pkg official before a jw-pkg test
    build.  jw-pkg should be self-contained enough to be able to
    build itself.

Signed-off-by: Jan Lindemann <jan@janware.com>

test-packaging.yaml: Split up build step into deps, static pre-check and actual buil

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-08 18:23:54 +02:00

View file

@ -41,7 +41,7 @@ jobs:
make -C build-jw-foss pkg-install-release-deps
OFFLINE=true make -C build-jw-foss pkg-rebuild-reinstall
- name: Install test dependencies
- name: Install test-build dependencies
shell: bash
run: |
set -euxo pipefail
@ -54,6 +54,12 @@ jobs:
set -euxo pipefail
make -C "${{ github.event.repository.name }}" check
- name: Build in repository source
shell: bash
run: |
set -euxo pipefail
make -C "${{ github.event.repository.name }}" all
- name: Build package
shell: bash
run: |
@ -66,6 +72,12 @@ jobs:
set -euxo pipefail
make -C "${{ github.event.repository.name }}" check
- name: Run unit + integration tests against repository
shell: bash
run: |
set -euxo pipefail
make -C "${{ github.event.repository.name }}" test
- name: Install package
shell: bash
run: |