Skip to content

⬆️ Bump setuptools from 67.6.0 to 70.0.0 #225

⬆️ Bump setuptools from 67.6.0 to 70.0.0

⬆️ Bump setuptools from 67.6.0 to 70.0.0 #225

Workflow file for this run

name: CI
on:
# Need to also run on pushes to master since PRs from a fork won't have
# access to the super user token, thereby skipping the integration tests
# and doctests
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
env:
REDCAPDEMO_SUPERUSER_TOKEN: ${{ secrets.REDCAPDEMO_SUPERUSER_TOKEN }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run poetry image
uses: abatilo/[email protected]
with:
poetry-version: 1.3.1
- name: Install dependencies
run: |
poetry install -E data_science
- name: Run doctests
# Forks can't run doctests, requires super user token
if: github.triggering_actor == 'pwildenhain'
run: |
poetry run pytest --doctest-only --doctest-plus
- name: Run tests
run: |
poetry run pytest
- name: Build docs
run: |
poetry run mkdocs build
- name: Upload coverage to Codecov
uses: codecov/[email protected]