Skip to content

Commit

Permalink
chore: move e2e_required into github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fmenezes committed Jan 31, 2025
1 parent b9b95f6 commit f75666c
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
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: make e2e-test
env:
E2E_TAGS: atlas,config
- name: Test Summary
id: test_summary
uses: test-summary/[email protected]
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/[email protected]
with:
paths: e2e-tests.xml

0 comments on commit f75666c

Please sign in to comment.