Skip to content

Commit

Permalink
Trying to isolate down to a simple upload
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Nov 26, 2024
1 parent 71b073d commit 77ce4ef
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/test-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,22 @@ jobs:
jwtGithubAudience: ${{ vars.CI_VAULT_AUD }}
secrets: |-
kv/data/teams/nomad/ui PERCY_TOKEN ;
- name: Create results directory
run: mkdir -p ui/test-results
- name: ember exam
env:
PERCY_TOKEN: ${{ env.PERCY_TOKEN || secrets.PERCY_TOKEN }}
PERCY_PARALLEL_NONCE: ${{ needs.pre-test.outputs.nonce }}
run: |
yarn exam:parallel --split=${{ matrix.split }} --partition=${{ matrix.partition }} --json-report=test-results-${{ matrix.partition }}.json
# - name: Create results directory
# run: mkdir -p ui/test-results
# - name: ember exam
# env:
# PERCY_TOKEN: ${{ env.PERCY_TOKEN || secrets.PERCY_TOKEN }}
# PERCY_PARALLEL_NONCE: ${{ needs.pre-test.outputs.nonce }}
# run: |
# yarn exam:parallel --split=${{ matrix.split }} --partition=${{ matrix.partition }} --json-report=test-results-${{ matrix.partition }}.json
- name: Create fake file
run: touch test-results/faux-${{ matrix.partition }}.json
- name: Upload partition test results
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: test-results-${{ matrix.partition }}
path: ui/test-results-${{ matrix.partition }}.json
path: test-results-${{ matrix.partition }}.json
retention-days: 90
finalize:
needs:
Expand Down

0 comments on commit 77ce4ef

Please sign in to comment.