-
Notifications
You must be signed in to change notification settings - Fork 16
41 lines (38 loc) · 990 Bytes
/
test.yml
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
name: Test
on: [push, pull_request]
jobs:
test:
name: Python ${{ matrix.python }}
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
fail-fast: false
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Install Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install pip dependencies
run: pip install -U pip tox virtualenv
- name: Run tox
run: tox -e py
check_for_differences:
name: Check for upstream differences
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
- name: Check for upstream differences
run: bin/check_for_differences
env:
TEST_ONLY: true