forked from python/pythoncapi-compat
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.02 KB
/
build.yml
File metadata and controls
45 lines (42 loc) · 1.02 KB
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
name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
# The list of all available versions can be found here:
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11.0-alpha.5"
- "pypy2"
- "pypy3"
include:
- os: windows-latest
python: 3.6
- os: macos-latest
python: 3.6
- os: ubuntu-18.04
python: 3.4
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Display the Python version
run: python -VV
- name: Run tests
run: python runtests.py --current --verbose