Skip to content

Feat/app

Feat/app #60

name: Integration tests
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
integration-tests-arm:
name: Integration test (ARM64)
runs-on: [self-hosted, ARM64]
strategy:
matrix:
image: [jammy, noble]
py: "3.10"

Check failure on line 17 in .github/workflows/integration_test.yaml

View workflow run for this annotation

GitHub Actions / Integration tests

Invalid workflow file

The workflow is not valid. .github/workflows/integration_test.yaml (Line: 17, Col: 13): Unexpected value '3.10' .github/workflows/integration_test.yaml (Line: 41, Col: 13): Unexpected value '3.10'
steps:
- uses: actions/checkout@v3
- uses: canonical/[email protected]
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- name: Install tox
run: |
sudo apt-get update
sudo apt-get install pipx -y
pipx ensurepath
pipx install tox
# need to run in sudo mode due to chroot
- name: Run integration tests
run: sudo $(which tox) -e integration -- --image=${{ matrix.image }} ${{ secrets.INTEGRATION_TEST_ARGS }}
integration-tests-amd:
name: Integration test (X64)
runs-on: [self-hosted, X64]
strategy:
matrix:
image: [jammy, noble]
py: "3.10"
steps:
- uses: actions/checkout@v3
- uses: canonical/[email protected]
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- name: Install tox
run: |
sudo apt-get update
sudo apt-get install pipx -y
pipx ensurepath
pipx install tox
# need to run in sudo mode due to chroot
- name: Run integration tests
run: sudo $(which tox) -e integration -- --image=${{ matrix.image }} ${{ secrets.INTEGRATION_TEST_ARGS }}