Skip to content

Commit

Permalink
secrets for cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
DoKu88 committed Nov 5, 2024
1 parent 60cd127 commit 8dfc4c0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up API Keys
env:
SYNTH_API_KEY: ${{ secrets.SYNTH_API_KEY }}
MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}
run:
echo "API keys are now available as environment variables"

- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -35,7 +43,7 @@ jobs:
- name: Find Tests
id: find_tests
run: |
# Find all files in the 'Test' directory and join them into a space-separated string
# Find all files in the 'testing' directory and join them into a space-separated string
TEST_SCRIPTS=$(find testing -type f ! -name '__init__.py' -print | tr '\n' ' ')
#TEST_SCRIPTS=("testing/pytest_test.py", "testing/upload_sync_test.py")
echo "Found test scripts: $TEST_SCRIPTS"
Expand Down

0 comments on commit 8dfc4c0

Please sign in to comment.