-
Notifications
You must be signed in to change notification settings - Fork 113
44 lines (37 loc) · 1.04 KB
/
Copy pathintegration-test.yml
File metadata and controls
44 lines (37 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 }}