Bump jinja2 from 3.1.2 to 3.1.3 #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: coverage | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
env: | |
MODE: development | |
SECRET_KEY: dev | |
DEV_DATABASE_URI: ${{ secrets.DEV_DATABASE_URI }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Upgrade pip, setuptools, and wheel | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Apply database migrations | |
run: flask db upgrade | |
- name: Run tests | |
run: pytest --cov trackr --cov-report xml tests/ | |
- name: Upload coverage | |
uses: codecov/codecov-action@v2 | |
with: | |
files: ./coverage.xml | |
fail_ci_if_error: true |