Skip to content

Update Entrypoint

Update Entrypoint #28

Workflow file for this run

name: Run Python Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install nose coverage mock
ssh-keygen -t rsa -P '' -f cacert
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: 4.0
- name: Run tests with nosetests
run: nosetests --with-coverage --cover-xml --cover-package . -s -x
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
fail_ci_if_error: true