Skip to content

feat: App w/ openstack image upload #50

feat: App w/ openstack image upload

feat: App w/ openstack image upload #50

name: Integration tests
on:
pull_request:
jobs:
integration-tests:
name: Integration test
runs-on: [self-hosted, stg-private-endpoint]
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
- name: Run integration tests
run: sudo $(which tox) -e integration -- --image=${{ matrix.image }} ${{ secrets.INTEGRATION_TEST_ARGS }}
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3