Move from readthedocs to github pages #182
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: Test | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
PIP_ONLY_BINARY: ":all:" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
# version number must be string, otherwise 3.10 becomes 3.1 | |
# ubuntu-latest is tested below | |
- os: windows-latest | |
python-version: "3.12" | |
- os: macos-latest | |
python-version: "3.8" | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: python -m pip install --upgrade pip | |
- run: python -m pip install -e .[test] | |
- run: python -m pytest | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- run: python -m pip install --upgrade pip | |
- run: python -m pip install -e .[test] | |
- run: coverage run -m pytest | |
# needed by coveralls | |
- run: python -m pip install toml | |
- uses: AndreMiras/coveralls-python-action@develop | |