-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (39 loc) · 987 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
42
43
44
45
46
name: Tests
on:
- pull_request
- workflow_dispatch
jobs:
tests:
name: ${{ matrix.os.name }} ${{ matrix.python }}
runs-on: ${{ matrix.os.runs-on }}
strategy:
matrix:
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
os:
- name: Linux
matrix: linux
runs-on: [ubuntu-latest]
- name: macOS
matrix: macos
runs-on: [macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install pyallel
run: |
pip install pyallel==0.5.1
- name: Install dev dependencies
run: |
pip install -r requirements_dev.txt
- name: Run pyallel
run: |
pyallel "MYPY_FORCE_COLOR=1 mypy ." "pytest ."