fix: pin marshmallow dependency #306
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, Integration Tests and Deploy | |
on: | |
push: | |
branches: | |
- 'master' | |
tags: | |
- 'v*.*.*' | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
docs-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.9","3.10","3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install poetry | |
poetry install -E docs | |
git config --global --add user.name "Renku @ SDSC" | |
git config --global --add user.email "[email protected]" | |
- name: Test docs | |
run: | | |
poetry run sphinx-build -nNW -b spelling -d docs/_build/doctrees docs docs/_build/spelling | |
poetry run sphinx-build -qnNW docs docs/_build/html | |
poetry run pytest -v -o testpaths="docs" | |
test-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.9","3.10","3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --depth=1 origin | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install poetry | |
poetry install | |
git config --global --add user.name "Renku @ SDSC" | |
git config --global --add user.email "[email protected]" | |
- name: Test with pytest | |
run: poetry run pytest |