Skip to content

Commit

Permalink
Test with charmcraft 2.x and 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
freyes committed Apr 16, 2024
1 parent 57b4a3e commit bf5b9db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
path: ${{ steps.snap-build.outputs.snap }}

integration:
strategy:
matrix:
charmcraft_channel:
- "2.x/stable"
- "3.x/beta"
name: Integration test
needs: build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,7 +75,7 @@ jobs:
- name: Build reactive charm with charmcraft
run: |
set -euxo pipefail
sudo snap install --classic --channel latest/edge charmcraft
sudo snap install --classic --channel ${{ matrix.charmcraft_channel }} charmcraft
cat << EOF | tee tests/charm-minimal/charmcraft.yaml
type: charm
parts:
Expand Down

0 comments on commit bf5b9db

Please sign in to comment.