Skip to content

Only consider arguments when they're handed over #351

Only consider arguments when they're handed over

Only consider arguments when they're handed over #351

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install -r requirements/tests.txt
- run: pytest
env:
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
- uses: codecov/codecov-action@v3
with:
env_vars: PYTHON
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}