|
4 | 4 | tests: |
5 | 5 | strategy: |
6 | 6 | matrix: |
7 | | - os: ["ubuntu-latest", "windows-latest", "macos-latest"] |
| 7 | + os: ["ubuntu-latest", "macos-latest"] |
8 | 8 | python-version: ["3.7", "3.8"] |
9 | | - name: Python ${{ matrix.python-version }} (${{ matrix.os }}) |
10 | 9 | runs-on: ${{ matrix.os }} |
| 10 | + name: Python ${{ matrix.python-version }} (${{ matrix.os }}) |
11 | 11 | steps: |
12 | 12 | - uses: actions/checkout@v2.1.0 |
13 | 13 | - uses: actions/setup-python@v1.2.0 |
14 | | - - name: Install tools using pip |
15 | | - run: | |
| 14 | + with: |
| 15 | + python-version: ${{ matrix.python-version }} |
| 16 | + - run: | |
16 | 17 | pip install --constraint=.github/workflows/constraints.txt pip |
17 | | - pip install --constraint=.github/workflows/constraints.txt cookiecutter nox poetry pre-commit |
18 | | - - name: Create git repository |
19 | | - if: matrix.os != 'windows-latest' |
20 | | - run: | |
21 | | - git init |
22 | | - git config --local user.name "GitHub Action" |
23 | | - git config --local user.email "action@github.com" |
24 | | - git add . |
25 | | - git commit --message="Initial import" |
26 | | - - name: Create git repository (Windows) |
27 | | - if: matrix.os == 'windows-latest' |
28 | | - run: | |
29 | | - git init |
30 | | - git config --local user.name "GitHub Action" |
31 | | - git config --local user.email "action@github.com" |
32 | | - $ErrorActionPreference = "Continue" |
33 | | - git add . |
34 | | - $ErrorActionPreference = "Stop" |
35 | | - git add --renormalize . |
36 | | - git commit --message="Initial import" |
37 | | - - name: Run test suite using Nox |
38 | | - run: nox --force-color |
| 18 | + pip install --constraint=.github/workflows/constraints.txt nox poetry |
| 19 | + - run: nox --force-color |
0 commit comments