Skip to content

Commit

Permalink
Provide envs to tests in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thecarrot123 committed Apr 29, 2024
1 parent 566d916 commit e838b80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Check code correctness
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: poetry run pytest tests --cov=app --cov-branch --cov-report=term --cov-fail-under=80
- name: Check code style
run: poetry run flake8 app tests --max-complexity 8
Expand Down

0 comments on commit e838b80

Please sign in to comment.