README: minor updates (#91) #207
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Python package | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up PyPy 3.6 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: pypy-3.6 | |
- name: Set up PyPy 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: pypy-3.7 | |
- name: Set up PyPy 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: pypy-3.8 | |
- name: Set up PyPy 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: pypy-3.9 | |
- name: Set up PyPy 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: pypy-3.10 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip pipenv | |
pipenv install --dev --python 3.11 | |
- name: Run development checks | |
run: | | |
pipenv run make | |
- name: Run packaging & run checks on older Pythons | |
run: | | |
pipenv run tox |