From f75666c31a3d5f6b21f1c995f432738f088436c5 Mon Sep 17 00:00:00 2001 From: Filipe C Menezes Date: Fri, 31 Jan 2025 11:52:32 +0000 Subject: [PATCH] chore: move e2e_required into github actions --- .github/workflows/e2e-tests.yml | 60 +++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .github/workflows/e2e-tests.yml diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml new file mode 100644 index 0000000000..4dd3f597a9 --- /dev/null +++ b/.github/workflows/e2e-tests.yml @@ -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/action@v2.4 + 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@v2.4 + with: + paths: e2e-tests.xml