Skip to content

Bump jinja2 from 3.0.3 to 3.1.3 in /docs #701

Bump jinja2 from 3.0.3 to 3.1.3 in /docs

Bump jinja2 from 3.0.3 to 3.1.3 in /docs #701

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Unittests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
unittests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 coverage
pip install -e .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --exit-zero --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with unittest and coverage
run: |
./runtests.sh --coverage --no-numba
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
install_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install using pip
run: |
python -m pip install --upgrade pip
pip install .
exetera --help