|
12 | 12 |
|
13 | 13 | jobs:
|
14 | 14 | test-python-coverage:
|
15 |
| - runs-on: ubuntu-latest |
16 |
| - steps: |
17 |
| - - uses: actions/checkout@v2 |
18 |
| - - uses: actions/setup-node@v2 |
19 |
| - with: |
20 |
| - node-version: "14.x" |
21 |
| - - name: Install Specific NPM Version |
22 |
| - run: npm install -g npm@8.3 |
23 |
| - - name: Use Latest Python |
24 |
| - uses: actions/setup-python@v2 |
25 |
| - with: |
26 |
| - python-version: "3.9" |
27 |
| - - name: Install Python Dependencies |
28 |
| - run: pip install -r requirements/nox-deps.txt |
29 |
| - - name: Run Tests |
30 |
| - env: { "CI": "true" } |
31 |
| - run: nox -s test_python_suite -- --maxfail=3 |
| 15 | + uses: ./.github/workflows/.nox-session.yml |
| 16 | + with: |
| 17 | + session-name: test_python_suite |
| 18 | + session-arguments: --maxfail=3 |
32 | 19 | test-python-environments:
|
33 |
| - runs-on: ${{ matrix.os }} |
34 |
| - strategy: |
35 |
| - matrix: |
36 |
| - python-version: ["3.7", "3.8", "3.9", "3.10"] |
37 |
| - os: [ubuntu-latest, macos-latest, windows-latest] |
38 |
| - steps: |
39 |
| - - uses: actions/checkout@v2 |
40 |
| - - uses: actions/setup-node@v2 |
41 |
| - with: |
42 |
| - node-version: "14.x" |
43 |
| - - name: Install Specific NPM Version |
44 |
| - run: npm install -g npm@8.3 |
45 |
| - - name: Use Python ${{ matrix.python-version }} |
46 |
| - uses: actions/setup-python@v2 |
47 |
| - with: |
48 |
| - python-version: ${{ matrix.python-version }} |
49 |
| - - name: Install Python Dependencies |
50 |
| - run: pip install -r requirements/nox-deps.txt |
51 |
| - - name: Run Tests |
52 |
| - env: { "CI": "true" } |
53 |
| - run: nox -s test_python --stop-on-first-error -- --maxfail=3 --no-cov |
| 20 | + uses: ./.github/workflows/.nox-session.yml |
| 21 | + with: |
| 22 | + session-name: test_python_suite |
| 23 | + session-arguments: --maxfail=3 --no-cov |
| 24 | + runs-on-array: '["ubuntu-latest", "macos-latest", "windows-latest"]' |
| 25 | + python-version-array: '["3.7", "3.8", "3.9", "3.10"]' |
54 | 26 | test-docs:
|
55 |
| - runs-on: ubuntu-latest |
56 |
| - steps: |
57 |
| - - uses: actions/checkout@v2 |
58 |
| - - uses: actions/setup-node@v2 |
59 |
| - with: |
60 |
| - node-version: "14.x" |
61 |
| - - name: Install Specific NPM Version |
62 |
| - run: npm install -g npm@8.3 |
63 |
| - - name: Use Latest Python |
64 |
| - uses: actions/setup-python@v2 |
65 |
| - with: |
66 |
| - python-version: "3.9" |
67 |
| - - name: Install Python Dependencies |
68 |
| - run: pip install -r requirements/nox-deps.txt |
69 |
| - - name: Run Tests |
70 |
| - env: { "CI": "true" } |
71 |
| - run: nox -s test_docs |
| 27 | + uses: ./.github/workflows/.nox-session.yml |
| 28 | + with: |
| 29 | + session-name: test_docs |
72 | 30 | test-javascript:
|
73 |
| - runs-on: ubuntu-latest |
74 |
| - steps: |
75 |
| - - uses: actions/checkout@v2 |
76 |
| - - uses: actions/setup-node@v2 |
77 |
| - with: |
78 |
| - node-version: "14.x" |
79 |
| - - name: Install Specific NPM Version |
80 |
| - run: npm install -g npm@8.3 |
81 |
| - - name: Install Python Dependencies |
82 |
| - run: pip install -r requirements/nox-deps.txt |
83 |
| - - name: Run Tests |
84 |
| - env: { "CI": "true" } |
85 |
| - run: nox -s test_javascript |
| 31 | + uses: ./.github/workflows/.nox-session.yml |
| 32 | + with: |
| 33 | + session-name: test_javascript |
0 commit comments