DPC-5222 re-enable portal smoke test at new subdomain #210
Workflow file for this run
This file contains hidden or 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: Load Testing Unit Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/load-test-unit-tests.yml | |
| - dpc-load-testing/** | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: codebuild-dpc-app-${{github.run_id}}-${{github.run_attempt}} | |
| defaults: | |
| run: | |
| working-directory: ./dpc-load-testing | |
| steps: | |
| - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 | |
| with: | |
| node-version: 22 | |
| - name: Install yarn | |
| run: npm install -g yarn | |
| - name: Set up tests for dpc-load-testing utilities | |
| run: yarn | |
| - name: Run ESLint | |
| run: yarn run lint | |
| - name: Run unit tests | |
| run: yarn test | |
| test-authentication-utils: | |
| runs-on: codebuild-dpc-app-${{github.run_id}}-${{github.run_attempt}} | |
| steps: | |
| - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
| - name: Test Macaroons | |
| run: | | |
| docker run --rm -v ./dpc-load-testing:/src grafana/k6 run /src/macaroonTests.js | |
| - name: Test JWT | |
| if: always() | |
| run: | | |
| docker run --rm -v ./dpc-load-testing:/src grafana/k6 run /src/jwtTests.js |