-
Notifications
You must be signed in to change notification settings - Fork 85
54 lines (45 loc) · 1.08 KB
/
tests-cygwin.yml
File metadata and controls
54 lines (45 loc) · 1.08 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: tests-cygwin
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
pytest:
runs-on: windows-latest
env:
FORCE_COLOR: true
strategy:
fail-fast: false
matrix:
python:
- '3.10'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up target Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Setup Cygwin
uses: cygwin/cygwin-install-action@v2
- name: Install nox
run: |
python -m pip install nox
nox --version
- name: Run tests
run: nox -s test-${{ matrix.python }}
- name: Send coverage report
uses: codecov/codecov-action@v1
if: ${{ always() }}
env:
PYTHON: cygwin-${{ matrix.python }}
with:
flags: tests
env_vars: PYTHON
name: cygwin-${{ matrix.python }}