Skip to content

Commit

Permalink
Update template-infra:base to version 0.15.4.post5.dev0+c315ac2
Browse files Browse the repository at this point in the history
  • Loading branch information
nava-platform-bot committed Mar 10, 2025
1 parent e746bfb commit 614ff0d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
32 changes: 21 additions & 11 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ name: E2E Tests
run-name: E2E Tests

on:
workflow_dispatch:
inputs:
app_name:
description: "Name of application folder under infra directory"
required: true
type: string
service_endpoint:
required: true
type: string
description: Base URL of the service
workflow_call:
inputs:
service_endpoint:
Expand Down Expand Up @@ -33,11 +43,11 @@ jobs:

- name: Run e2e tests (Shard ${{ matrix.shard }}/${{ matrix.total_shards }})
run: |
make e2e-test \
APP_NAME=${{ inputs.app_name }} \
BASE_URL=${{ inputs.service_endpoint }} \
CURRENT_SHARD=${{ matrix.shard }} \
TOTAL_SHARDS=${{ matrix.total_shards }}
make e2e-test \
APP_NAME=${{ inputs.app_name }} \
BASE_URL=${{ inputs.service_endpoint }} \
CURRENT_SHARD=${{ matrix.shard }} \
TOTAL_SHARDS=${{ matrix.total_shards }}
- name: Verify blob report directory after tests
run: |
Expand All @@ -64,14 +74,14 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
node-version: lts/*

- name: Cache Node.js dependencies
id: cache-node
uses: actions/cache@v4
with:
path: e2e/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('e2e/package-lock.json') }}
path: e2e/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('e2e/package-lock.json') }}

- name: Install dependencies in ./e2e to be able to run `playwright merge-reports`
if: steps.cache-node.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -100,6 +110,6 @@ jobs:
- name: Upload merged HTML report
uses: actions/upload-artifact@v4
with:
name: e2e-test-report
path: ./e2e/playwright-report
retention-days: 7
name: e2e-test-report
path: ./e2e/playwright-report
retention-days: 7
2 changes: 1 addition & 1 deletion .template-infra/base.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: v0.15.4-4-g033f6a6
_commit: v0.15.4-5-gc315ac2
_src_path: https://github.com/navapbc/template-infra
base_code_repository_url: https://github.com/navapbc/platform-test-flask
base_default_region: us-east-1
Expand Down

0 comments on commit 614ff0d

Please sign in to comment.