Skip to content

Commit

Permalink
RSDK-5906: Upload CI test.json file as a github artifact. (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgottlieb authored Nov 30, 2023
1 parent 39728ac commit bfd3901
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ jobs:
export ARTIFACT_GOOGLE_APPLICATION_CREDENTIALS=`pwd`/artifact_google_creds.json
sudo -u testbot --preserve-env=ARTIFACT_GOOGLE_APPLICATION_CREDENTIALS,TEST_MONGODB_URI,MONGODB_TEST_OUTPUT_URI,GITHUB_SHA,GITHUB_RUN_ID,GITHUB_RUN_NUMBER,GITHUB_RUN_ATTEMPT,GITHUB_X_PR_BASE_SHA,GITHUB_X_PR_BASE_REF,GITHUB_X_HEAD_REF,GITHUB_X_HEAD_SHA,GITHUB_REPOSITORY bash -lc 'make cover'
- name: Upload test.json
if: always()
uses: actions/upload-artifact@v3
with:
name: test.json
path: json.log
retention-days: 30

# this one runs as root for CAP_SETUID
- name: test run-as-user
env:
Expand Down

0 comments on commit bfd3901

Please sign in to comment.