forked from cpplint/cpplint
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 903 Bytes
/
ci.yml
File metadata and controls
33 lines (32 loc) · 903 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
31
32
33
name: Test
on:
pull_request:
push:
paths-ignore: "*.rst"
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
# Python 3.7 is the highest available for actions/setup-python
python-version: ['3.7', 'pypy3.10', '3.12']
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
cache-dependency-path: '**/test-requirements'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
python -m pip install 'tox-gh-actions<4.0.0'
- name: Test with tox
run: tox