forked from orenhecht/python-gnureadline
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 744 Bytes
/
test.yaml
File metadata and controls
30 lines (25 loc) · 744 Bytes
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: Build and test package
on:
workflow_dispatch:
push:
paths-ignore:
- '.github/workflows/**'
jobs:
build_and_test:
name: Test on Python ${{ matrix.python }}, ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install tox
- name: Run tox
# Run tox using the version of Python in `PATH`
run: tox -e py