Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
fail-fast: false
matrix:
variant: ${{ fromJSON(needs.setup.outputs.matrix) }}
arch: [amd64, arm64]
# We want to run tests here only for one of the variants, as in this
# case the user is introduced by modifying the snapd snap and we do not
# use neither cloud-init nor system-user assertions.
Expand All @@ -135,17 +136,11 @@ jobs:
with:
name: core-snap-${{ matrix.variant }}

- name: Run x86 tests
- name: Run tests
uses: ./.github/actions/run-spread-tests
with:
base-variant: ${{ matrix.variant }}
spread-command: spread openstack-ext:tests/spread/main/

- name: Run arm64 tests
uses: ./.github/actions/run-spread-tests
with:
base-variant: ${{ matrix.variant }}
spread-command: spread openstack-arm-ext:tests/spread/main/
spread-command: ${{ matrix.arch == 'amd64' && 'spread openstack-ext:tests/spread/main/' || 'spread openstack-arm-ext:tests/spread/main/' }}

- name: Discard spread workers
if: always()
Expand Down
Loading