Skip to content

Commit

Permalink
Fix bug in test config
Browse files Browse the repository at this point in the history
  • Loading branch information
NatSquared committed Jun 26, 2024
1 parent f10ebd2 commit 2cf25cc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/analytics-api-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
make flake8
testing:
needs: setup-job

strategy:
matrix:
python-version: [3.12]

env:
FLASK_ENV: "testing"
DATABASE_TEST_URL: "postgresql://postgres:postgres@localhost:5432/postgres"
Expand All @@ -69,7 +74,7 @@ jobs:
USE_TEST_KEYCLOAK_DOCKER: "YES"

SQLALCHEMY_DATABASE_URI: "postgresql://postgres:postgres@localhost:5432/postgres"

runs-on: ubuntu-20.04

services:
Expand Down Expand Up @@ -103,14 +108,14 @@ jobs:
run: |
echo "CODECOV_BRANCH=PR_${{github.head_ref}}" >> $GITHUB_ENV
if: github.event_name == 'pull_request'

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: analyticsapi
name: codecov-analytics-api
fail_ci_if_error: true
verbose: true
fail_ci_if_error: true
verbose: true
override_branch: ${{env.CODECOV_BRANCH}}
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion analytics-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ certifi==2023.7.22
charset-normalizer==3.1.0
click==8.1.7
ecdsa==0.18.0
flask_jwt_oidc==0.4.0
flask_jwt_oidc==0.3.0
flask-marshmallow==1.0.0
flask-restx==1.1.0
gunicorn==20.1.0
Expand Down
2 changes: 1 addition & 1 deletion met-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ flask_mail==0.9.1
flask_restx
secure==0.3.0
flask-cors==3.0.10
flask_jwt_oidc==0.6.0
flask_jwt_oidc==0.3.0
pyhumps==1.6.1
pylint==3.1.0
aws-requests-auth
Expand Down

0 comments on commit 2cf25cc

Please sign in to comment.