Skip to content

Commit

Permalink
test secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Sep 26, 2024
1 parent 9dab4c0 commit 44228f9
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
permissions:
contents: read

env:
API_KEY: ${{ secrets.API_KEY }}

jobs:
build:

Expand Down Expand Up @@ -46,6 +43,20 @@ jobs:
- name: Sort imports with isort
run: |
isort . --profile=black --check-only --verbose
- name: Show secret
run: |
echo "API_KEY: $API_KEY"
env:
API_KEY: ${{ secrets.API_KEY }}

- name: Show secret 2
env:
API_KEY: ${{ secrets.API_KEY }}
run: |
echo "API_KEY: $API_KEY"
- name: Test with unittest
env:
API_KEY: ${{ secrets.API_KEY }}
run: |
poetry run python -m unittest discover

0 comments on commit 44228f9

Please sign in to comment.