Files
grafana-zabbix/.github/workflows/compatibility-74.yml
Zoltán Bedi fb046e5715 Chore: Migrate workflows to use create-github-app-token (#2142)
- Removes dependabot.yml as renovate will update grafana-sdk for us
- Migrates to `create-github-app-token`
- Pin workflows
- Removes is-compatible.yml I found that workflow not helping much but
creating an annoyingly long comment

Fixes https://github.com/grafana/oss-big-tent-squad/issues/144
2025-12-19 14:47:24 +01:00

40 lines
1.0 KiB
YAML

name: zabbix_74
run-name: Compatibility with Zabbix 7.4 test
permissions:
contents: read
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
compatibility-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
- name: Start Zabbix environment
run: |
docker compose -f devenv/zabbix74/docker-compose.yml up -d
# Wait for Zabbix to be ready
sleep 30
- name: Run integration tests
env:
INTEGRATION_TEST74: 'true'
ZABBIX_URL: 'http://localhost:8188/api_jsonrpc.php'
ZABBIX_USER: 'Admin'
ZABBIX_PASSWORD: 'zabbix'
run: go test -v ./pkg/zabbixapi/...
- name: Cleanup
if: always()
run: docker compose -f devenv/zabbix74/docker-compose.yml down -v