Skip to content

Commit

Permalink
Update app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-hsieh committed Feb 7, 2024
1 parent 776a2be commit f021de4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ jobs:
name: Test python API

steps:
- name: Create FIREBASE CREDS JSON File
env:
FIREBASE_CREDS: ${{ secrets.FIREBASE_CREDS }}
run: echo $FIREBASE_CREDS | base64 -di > ./CREDS.json
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
with:
Expand All @@ -20,13 +16,18 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Create FIREBASE CREDS JSON File
env:
FIREBASE_CREDS: ${{ secrets.FIREBASE_CREDS }}
run: echo $FIREBASE_CREDS | base64 -di > ./CREDS.json
- name: Run tests and collect coverage
run: |
pytest --cov=./ --cov-report=xml
env:
ESPN_S2: ${{ secrets.ESPN_S2 }}
LEAGUE_ID: ${{ secrets.LEAGUE_ID }}
SWID: ${{ secrets.SWID }}

- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]

Expand Down

0 comments on commit f021de4

Please sign in to comment.