Skip to content

feat: Initial application #16

feat: Initial application

feat: Initial application #16

name: Integration tests
on:
pull_request:
jobs:
integration-tests:
name: Integration test
runs-on: [self-hosted, X64, edge, jammy]
strategy:
matrix:
image: [jammy, noble]
steps:
- uses: actions/checkout@v3
- uses: canonical/[email protected]
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
# need to run in sudo mode due to chroot
- name: Install tox
run: sudo python -m pip install tox-gh>=1.2
- name: Run integration tests
run: sudo $(which tox) -e integration -- --image=${{ matrix.image }}
- name: Setup tmate session
if: ${{ failure() }}
uses: canonical/action-tmate@main