Bump readthedocs-sphinx-search from 0.1.1 to 0.3.2 in /docs #29
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: N2G Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
linters: | |
name: linters | |
strategy: | |
matrix: | |
python-version: [ '3.7' ] | |
platform: [windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install Dependencies | |
run: | | |
pip install poetry | |
poetry install | |
- name: Run pre-commit | |
run: poetry run pre-commit run --all-files | |
run_tests: | |
name: Testing on Python ${{ matrix.python-version }} (${{ matrix.platform}}) | |
defaults: | |
run: | |
# that is to run pytest from within tests directory | |
working-directory: tests | |
shell: bash | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ '3.7', '3.8', '3.9', '3.10' ] | |
platform: [ubuntu-latest, macOS-10.15, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install -E full | |
- name: Run pytest | |
run: poetry run pytest -vv |