Skip to content

Merge pull request #842 from asfadmin/gjc/upgrade/python #826

Merge pull request #842 from asfadmin/gjc/upgrade/python

Merge pull request #842 from asfadmin/gjc/upgrade/python #826

Workflow file for this run

name: Unit Test
on:
pull_request:
push:
branches:
- devel
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt -r requirements/requirements-dev.txt
- run: pip install pytest-github-actions-annotate-failures
- run: pytest --cov=thin_egress_app --cov-report=term-missing --cov-report=xml --cov-branch tests
- name: Report coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true