Update myst-parser requirement from <2.1.0 to <3.1.0 #3691
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-build | |
on: | |
# Triggers the workflow on push or pull request | |
push: | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
python: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Tox and any other packages | |
run: pip install tox | |
- name: Run Tox | |
# Run tox using the version of Python in `PATH` | |
run: tox -e py3 | |
- name: Upload coverage report to Codecov | |
uses: codecov/codecov-action@v2 | |
if: startsWith(matrix.platform,'ubuntu') && matrix.python == '3.8' | |
documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install tox | |
run: pip install tox | |
- name: Install external doc tools | |
run: | | |
sudo apt-get install pandoc | |
sudo apt-get install graphviz | |
- name: Build documentation | |
run: tox -e docs | |
benchmarks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install tox | |
run: pip install tox | |
- name: Dry-run benchmarks | |
run: tox -e benchmarks |