Pushed latest compiled by github action bot following changes in /fro… #1727
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: Test Python code | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
PYTHON: '3.10' | |
steps: | |
- name: Checkout the project | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: ${{ env.PYTHON }} | |
cache: 'pip' | |
- name: Install Requirements | |
run: pip install -r requirements.txt | |
- name: Install the package that is required for testing and coverage calculation | |
run: pip install coverage | |
- name: Generate Report | |
run: coverage run -m unittest | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v2 | |