Skip to content

allow old poetry-core version for old Python versions #234

allow old poetry-core version for old Python versions

allow old poetry-core version for old Python versions #234

Workflow file for this run

name: Python
on:
push:
branches: [ "develop" ]
tags: [ "*" ]
pull_request:
branches: [ "develop" ]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
# Generated with scripts/github_actions_get_python_versions.py
python-version: [
"3.6.7", "3.6.8", "3.6.9", "3.6.10", "3.6.11", "3.6.12", "3.6.13", "3.6.14", "3.6.15", "3.7.1", "3.7.5",
"3.7.6", "3.7.7", "3.7.8", "3.7.9", "3.7.10", "3.7.11", "3.7.12", "3.7.13", "3.7.14", "3.7.15", "3.8.0",
"3.8.1", "3.8.2", "3.8.3", "3.8.4", "3.8.5", "3.8.6", "3.8.7", "3.8.8", "3.8.9", "3.8.10", "3.8.11",
"3.8.12", "3.8.13", "3.8.14", "3.9.0", "3.9.1", "3.9.2", "3.9.3", "3.9.4", "3.9.5", "3.9.6", "3.9.7",
"3.9.8", "3.9.9", "3.9.10", "3.9.11", "3.9.12", "3.9.13", "3.9.14", "3.9.15", "3.10.0", "3.10.1", "3.10.2",
"3.10.3", "3.10.4", "3.10.5", "3.10.6", "3.10.7", "3.10.8", "3.11.0", "3.x", "pypy-3.8",
]
steps:
- uses: actions/checkout@v2
- uses: NiklasRosenstein/slap@gha/install/v1
- uses: actions/setup-python@v2
with: { python-version: "${{ matrix.python-version }}" }
- run: slap install --no-venv-check
- run: slap test
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: NiklasRosenstein/slap@gha/install/v1
- run: slap install --only-extras docs --no-venv-check
- run: slap run --no-venv-check docs:build
- uses: actions/upload-artifact@v2
with:
name: docs
path: docs/_site
docs-publish:
needs: [ test, docs ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with: { name: docs, path: docs/_site }
- uses: JamesIves/github-pages-deploy-action@4.1.4
with: { branch: gh-pages, folder: docs/_site, ssh-key: "${{ secrets.DEPLOY_KEY }}" }