-
-
Notifications
You must be signed in to change notification settings - Fork 10
54 lines (46 loc) · 1.17 KB
/
ready_test_nonloc.yml
File metadata and controls
54 lines (46 loc) · 1.17 KB
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
47
48
49
50
51
52
53
54
name: 'READY: Run nonlocal tests'
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- stable
jobs:
python_os_test_matrix:
name: ${{ matrix.os }} python 3.12
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.workflow }}-${{ matrix.os }}-${{ github.ref }}
cancel-in-progress: true
if: ${{ !github.event.pull_request.draft }}
strategy:
matrix:
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
cache-dependency-path: requirements-ci.txt
- name: Update pip
run: python -m pip install -U pip
- name: Install & report CI dependencies
run: |
python -m pip install -U --force-reinstall -r requirements-ci.txt
python --version
pip list
- name: Build docs
run: |
cd doc
make html
mkdir scratch
- name: Run nonlocal tests
run: |
pytest --nonloc