Skip to content

Commit

Permalink
tests(ci): add integration job to ci pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Nucciarone <[email protected]>
  • Loading branch information
NucciTheBoss committed Jun 25, 2024
1 parent 2cf64b5 commit 32c3194
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,27 @@ jobs:
run: python3 -m pip install tox
- name: Run tests
run: tox run -e unit

integration-test:
name: Integration tests
needs:
- inclusive-naming-check
- lint
- unit-test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up LXD
uses: canonical/setup-lxd
with:
channel: 5.21/stable
- name: Set up gambol
run: |
wget https://github.com/NucciTheBoss/gambol/releases/download/v0.1.0-rc1/gambol_0.1.0_amd64.snap
sudo snap install ./gambol_*.snap --dangerous
sudo snap connect gambol:lxd lxd:lxd
sudo snap connect gambol:dot-gambol
- name: Build the Slurm snap
run: make snap
- name: Run tests
run: make integration

0 comments on commit 32c3194

Please sign in to comment.