Skip to content

Easier Area0

Easier Area0 #343

Workflow file for this run

name: Run Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Cython extensions
run: |
python setup.py build_ext --inplace
- name: Run tests
run: |
pip install pytest pytest-cov
pytest Tests/ -k "not filename" --doctest-modules --junitxml=test-results.xml --cov . --cov-report=xml --cov-report=html
continue-on-error: true
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: Pablo1990/pyVertexModel
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
file: coverage.xml
- name: TestForest Dashboard
uses: test-summary/[email protected]
with:
paths: "test-results.xml"