Skip to content

Commit

Permalink
Adding statement to echo secrets in GitHub action workflow (#16)
Browse files Browse the repository at this point in the history
* Change to run test

* Adding statement to echo secrets

* Update run_sdk_test.yml

* Update run_sdk_test.yml

* Updated test workflow
  • Loading branch information
snehals-uc authored Feb 27, 2024
1 parent 8433447 commit a6bb674
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/run_sdk_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ on:
branches:
- main
jobs:
run-script:
test:
runs-on: ubuntu-latest
env:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand All @@ -16,10 +19,9 @@ jobs:
python-version: '3.9'
- name: Install UniCourt Python SDK
run: python setup.py install
- name: Checking secrets exist
run: echo "CLIENT_ID is ${{secrets.CLIENT_ID}} and CLIENT_SECRET is ${{secrets.CLIENT_SECRET}}"
- name: Checking env's exist
run: echo "CLIENT_ID is $CLIENT_ID and CLIENT_SECRET is $CLIENT_SECRET"
- name: Run SDK test
env:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
PACER_USER_ID: ${{ secrets.PACER_USER_ID }}
PACER_CLIENT_CODE: ${{ secrets.PACER_CLIENT_CODE }}
run: cd test && python base.py --exclude TestPacer

0 comments on commit a6bb674

Please sign in to comment.