Skip to content

Commit

Permalink
Add python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yuma-m committed Dec 5, 2022
1 parent 59e3bf5 commit ce9cd81
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/build.yml
Expand Up @@ -4,25 +4,25 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run test
run: |
python setup.py test
- name: Style check
run: |
pip install flake8
flake8 --ignore=E501 pychord test
- name: Type check
run: |
pip install mypy
mypy pychord
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run test
run: |
python setup.py test
- name: Style check
run: |
pip install flake8
flake8 --ignore=E501 pychord test
- name: Type check
run: |
pip install mypy
mypy pychord

0 comments on commit ce9cd81

Please sign in to comment.