Skip to content

Commit 8ef4260

Browse files
committed
Add new READY state --nonloc test job
1 parent 33636cc commit 8ef4260

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: 'READY: Run nonlocal tests'
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
- ready_for_review
10+
branches:
11+
- main
12+
- stable
13+
14+
jobs:
15+
python_os_test_matrix:
16+
name: ${{ matrix.os }} python 3.12
17+
runs-on: ${{ matrix.os }}
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ matrix.os }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
if: ${{ !github.event.pull_request.draft }}
22+
strategy:
23+
matrix:
24+
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
25+
26+
steps:
27+
- name: Check out repo
28+
uses: actions/checkout@v4
29+
30+
- name: Install Python
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: '3.12'
34+
cache: 'pip'
35+
cache-dependency-path: requirements-ci.txt
36+
37+
- name: Update pip
38+
run: python -m pip install -U pip
39+
40+
- name: Install & report CI dependencies
41+
run: |
42+
python -m pip install -U --force-reinstall -r requirements-ci.txt
43+
python --version
44+
pip list
45+
46+
- name: Build docs
47+
run: |
48+
cd doc
49+
make html
50+
mkdir scratch
51+
52+
- name: Run nonlocal tests
53+
run: |
54+
pytest --nonloc

0 commit comments

Comments
 (0)