test: migrate runtime coverage toward ginkgo e2e #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: E2E Tests | |
| on: | |
| pull_request: | |
| branches: [main, master] | |
| push: | |
| branches: [main, master] | |
| workflow_dispatch: | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 50 | |
| # Only run if secrets are available (skip on forks). | |
| if: github.repository == 'api7/a7' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.22' | |
| - name: Download Go modules | |
| run: go mod download | |
| - name: Run E2E tests | |
| env: | |
| A7_ADMIN_URL: ${{ secrets.DEMO_WEBSITE }} | |
| A7_TOKEN: ${{ secrets.DEMO_TOKEN }} | |
| A7_GATEWAY_GROUP: default | |
| run: make test-e2e |