Skip to content

Break up getting_started into individual parts for easier digestion #57

Break up getting_started into individual parts for easier digestion

Break up getting_started into individual parts for easier digestion #57

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 9
matrix:
python-version: ['3.9', '3.10', '3.11']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pip.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
run: |
pip install -r requirements/test.txt
pip install -r requirements/pip.txt
pip install -e .
- name: Running tests
run: pytest tests/ --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
if: (matrix.python-version == 3.9) && (matrix.os == 'ubuntu-latest')
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella