Skip to content

Commit

Permalink
CrossArch CI: Fetch submodules and add missing parameter
Browse files Browse the repository at this point in the history
* We didn't fetch the submodules so the CI always failed
* nox is pre-fetching the files only to not use them (missing -R), that
  was fixed.

Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
  • Loading branch information
Marenz committed Apr 23, 2024
1 parent f4485c7 commit 3ba1259
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ jobs:
steps:
- name: Fetch sources
uses: actions/checkout@v4
with:
submodules: true

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down Expand Up @@ -201,7 +203,7 @@ jobs:
--net=host \
--platform linux/${{ matrix.arch }} \
localhost/nox-cross-arch:latest \
bash -c "pip install -e .[dev-noxfile]; nox --install-only -e ${{ matrix.nox-session }}; pip freeze; nox -e ${{ matrix.nox-session }}"
bash -c "pip install -e .[dev-noxfile]; nox --install-only -e ${{ matrix.nox-session }}; pip freeze; nox -R -e ${{ matrix.nox-session }}"
timeout-minutes: 30

# This ensures that the runner has access to the pip cache.
Expand Down

0 comments on commit 3ba1259

Please sign in to comment.