CLOUDP-300137: Bad link shown for role enum in Atlas Org API Key Crea… #165
This file contains 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: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
config: | |
env: | |
TEST_CMD: gotestsum --junitfile e2e-tests.xml --format standard-verbose -- | |
UNIT_TAGS: unit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: GitHubSecurityLab/actions-permissions/monitor@v1 | |
with: | |
config: ${{ vars.PERMISSIONS_CONFIG }} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- run: go install gotest.tools/gotestsum@latest | |
- run: | | |
set -Eeou pipefail | |
mkdir "$XDG_CONFIG_HOME/atlascli" | |
cat <<EOF > "$XDG_CONFIG_HOME/atlascli/config.toml" | |
[e2e] | |
org_id = "test_id" | |
public_api_key = "test_pub" | |
service = "cloud" | |
EOF | |
- run: make e2e-test | |
env: | |
E2E_TAGS: config | |
- name: Test Summary | |
id: test_summary | |
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 | |
with: | |
paths: e2e-tests.xml | |
brew: | |
env: | |
TEST_CMD: gotestsum --junitfile e2e-tests.xml --format standard-verbose -- | |
UNIT_TAGS: unit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: GitHubSecurityLab/actions-permissions/monitor@v1 | |
with: | |
config: ${{ vars.PERMISSIONS_CONFIG }} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- run: go install gotest.tools/gotestsum@latest | |
- run: make e2e-test | |
env: | |
E2E_TAGS: brew | |
- name: Test Summary | |
id: test_summary | |
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 | |
with: | |
paths: e2e-tests.xml |