Skip to content

Commit 38f236c

Browse files
authored
Add tests for multiple Python3 versions
1 parent b0f74a4 commit 38f236c

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,34 @@
11
name: tests
22

33
on:
4+
pull_request:
5+
branches: [main]
46
push:
57

68
jobs:
79
tests:
8-
name: "Run tests"
10+
name: 'Run tests on py${{ matrix.python-version }}'
911
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
include:
16+
- python-version: '3.6'
17+
- python-version: '3.7'
18+
- python-version: '3.8'
19+
- python-version: '3.9'
20+
- python-version: '3.10'
21+
- python-version: '3.11'
22+
- python-version: '3.12'
23+
1024
steps:
1125
- name: Clone vplot repo
12-
uses: actions/checkout@v2
26+
uses: actions/checkout@v3
1327
with:
1428
fetch-depth: 0
1529

30+
31+
1632
- name: Set up Python
1733
uses: conda-incubator/setup-miniconda@v2
1834
with:

0 commit comments

Comments
 (0)