Skip to content

Commit

Permalink
Chore: Add Grafana version test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtreece committed Sep 17, 2024
1 parent 0a1ca76 commit 3d2fac0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,23 @@ jobs:
go-version: stable
cache: true
- run: "go test ./... -v"
grafana-integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [main, v11.2.x, v11.1.x, v11.0.x, v10.4.x, v10.3.x]
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Checkout grafana
uses: actions/checkout@v4
with:
repository: grafana/grafana
ref: ${{ matrix.version }}
path: grafana-oss
- uses: dagger/dagger-for-github@v6
with:
verb: run
args: go run ./cmd artifacts -a targz:grafana:linux/amd64 --grafana-dir=grafana-oss

0 comments on commit 3d2fac0

Please sign in to comment.