Skip to content

Commit

Permalink
Improve CI
Browse files Browse the repository at this point in the history
- Run on pull requests
- Add Python 3.10 to test matrix
- Upgrade to `actions/checkout@v2`
  • Loading branch information
amotl committed Nov 18, 2021
1 parent 47740d8 commit 626d683
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: Python package

on: [push]
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.6, 3.7, 3.8, 3.9, '3.10']

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit 626d683

Please sign in to comment.