Skip to content

Merge pull request #46 from MugsyOS/integrate-mech-service #68

Merge pull request #46 from MugsyOS/integrate-mech-service

Merge pull request #46 from MugsyOS/integrate-mech-service #68

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
- dev
jobs:
test:
runs-on: ubuntu-latest
env:
TESTING: "true"
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Install pytest-cov
run: |
pip install pytest-cov
- name: Run tests
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml