Skip to content

Chore: Add Grafana version test coverage #7

Chore: Add Grafana version test coverage

Chore: Add Grafana version test coverage #7

name: PR Integration tests
on:
pull_request: {}
issue_comment:
types: [created]
jobs:
grafana-integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [main]
#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
- name: Clean runner
run: |
docker builder prune -f
docker system prune -a -f
rm -rf /usr/share/dotnet
rm -rf /opt/ghc
rm -rf "/usr/local/share/boost"
rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: dagger/dagger-for-github@v6
with:
verb: run
args: go run ./cmd artifacts -a targz:grafana:linux/amd64 --grafana-dir=grafana