forked from zephyrproject-rtos/west
-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (27 loc) · 813 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
---
name: Python Test
# yamllint disable-line rule:truthy
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
# This is enough to find many quoting issues
with:
path: "./check out"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version); print(sys.platform)"
- name: install tox
run: pip3 install tox
- name: tox
run: tox -c 'check out' -- -W error