-
Notifications
You must be signed in to change notification settings - Fork 67
51 lines (41 loc) · 1.02 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: CI
on:
push:
branches:
- 'master'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
pull_request:
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python:
- {version: '3.7', toxenv: 'py37'}
- {version: '3.8', toxenv: 'py38'}
- {version: '3.9', toxenv: 'py39'}
- {version: '3.10', toxenv: 'py310'}
- {version: '3.11', toxenv: 'py311'}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python.version }}
- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
- name: Install tox
run: |
pip3 --version
pip3 install setuptools tox
- name: Run install
shell: bash
run: |
tox -e "${{ matrix.python.toxenv }}" -vv