Files
versitygw/.github/workflows/functional-iam.yml
T
dependabot[bot]andGitHub 4e5fb349fb chore(deps): bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-31 21:07:46 +00:00

51 lines
1.2 KiB
YAML

name: IAM functional tests
permissions:
contents: read
on: pull_request
jobs:
build:
name: RunIAMTests
runs-on: ubuntu-latest
services:
vault:
image: hashicorp/vault:1.21.4@sha256:6c77f568e6b6310d5bc68befb5711b9215c574de7da489e7c24332581176888b
env:
VAULT_ADDR: http://127.0.0.1:8200
VAULT_DEV_LISTEN_ADDRESS: 0.0.0.0:8200
VAULT_DEV_ROOT_TOKEN_ID: iam-ci-root
ports:
- 8200:8200
options: >-
--cap-add=IPC_LOCK
--health-cmd "vault status"
--health-interval 2s
--health-timeout 2s
--health-retries 15
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 'stable'
id: go
- name: Get Dependencies
run: |
go mod download
- name: Build and Run
env:
VAULT_ADDR: http://127.0.0.1:8200
VAULT_TOKEN: iam-ci-root
run: |
make testbin
./runiamtests.sh
- name: Coverage Report
run: |
go tool covdata percent -i=/tmp/iam.covdata,/tmp/iam.https.covdata,/tmp/iam.vault.covdata