Post review cleanup #31
This file contains hidden or 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: | |
| workflow_call: | |
| pull_request: | |
| jobs: | |
| integration-tests: | |
| name: Integration Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup LXD | |
| uses: canonical/setup-lxd@main | |
| - name: Install charmcraft | |
| run: sudo snap install charmcraft --classic | |
| - name: Install concierge | |
| run: sudo snap install --classic concierge | |
| - name: Prepare Juju | |
| run: sudo concierge prepare --verbose --juju-channel=3/stable --charmcraft-channel=3.x/stable -p machine | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install tox | |
| run: pip install tox | |
| - name: Run integration tests | |
| run: tox -e integration |