Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding statement to echo secrets in GitHub action workflow #16

Merged
merged 6 commits into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading