From f021de400843ab735f96ce8958ed93412dba959e Mon Sep 17 00:00:00 2001 From: Justin Hsieh <41461549+justin-hsieh@users.noreply.github.com> Date: Wed, 7 Feb 2024 08:18:26 -0700 Subject: [PATCH] Update app.yml --- .github/workflows/app.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index 6d00512..cd7625a 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -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: @@ -20,6 +16,10 @@ 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 @@ -27,6 +27,7 @@ jobs: ESPN_S2: ${{ secrets.ESPN_S2 }} LEAGUE_ID: ${{ secrets.LEAGUE_ID }} SWID: ${{ secrets.SWID }} + - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3.1.0