feat: external cloud upload #195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, jammy, stg-private-endpoint] | |
strategy: | |
matrix: | |
image: [jammy, noble] | |
steps: | |
- uses: actions/[email protected] | |
- uses: canonical/[email protected] | |
- name: Install tox | |
run: | | |
sudo apt-get update | |
sudo apt-get install pipx -y | |
pipx ensurepath | |
pipx install tox | |
- name: Run integration tests | |
run: tox -e integration -- -m arm64 --image=${{ matrix.image }} ${{ secrets.INTEGRATION_TEST_ARGS }} | |
- name: Tmate | |
if: ${{ failure() }} | |
uses: canonical/action-tmate@main | |
integration-tests-amd: | |
name: Integration test (X64) | |
runs-on: [self-hosted, X64, jammy, stg-private-endpoint] | |
strategy: | |
matrix: | |
image: [jammy, noble] | |
steps: | |
- uses: actions/[email protected] | |
- uses: canonical/[email protected] | |
- name: Install tox | |
run: | | |
sudo apt-get update | |
sudo apt-get install pipx -y | |
pipx ensurepath | |
pipx install tox | |
- name: Run integration tests | |
run: tox -e integration -- -m amd64 --image=${{ matrix.image }} ${{ secrets.INTEGRATION_TEST_ARGS }} |