Update actions/checkout action to v6 #67
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: Integration Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - 'download_clients/**' | |
| - 'integration/**' | |
| - '.github/workflows/integration-test.yml' | |
| jobs: | |
| integration-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout OM | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| cache: true | |
| - name: Verify Docker is available | |
| run: | | |
| docker --version | |
| docker info | |
| - name: Run Integration Tests | |
| # Note: E2E tests requiring PIVNET_TOKEN will skip if secret is not configured | |
| # Infrastructure tests (KDC, proxy, Kerberos) will still run | |
| run: | | |
| go test -v -tags=integration -timeout=10m ./integration/... | |
| env: | |
| CGO_ENABLED: 1 | |
| TESTCONTAINERS_RYUK_DISABLED: false | |
| DOCKER_HOST: unix:///var/run/docker.sock | |
| PIVNET_TOKEN: ${{ secrets.PIVNET_TOKEN }} | |