add more default configuration to sphinx conf.py #46
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
unit_tests: | |
name: Unit Tests | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.9'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install pip dependencies | |
run: | | |
python -m pip install --upgrade --upgrade-strategy eager -r requirements.txt | |
python -m pip freeze | |
- name: Run tests | |
run: py.test --verbose test |