Skip to content
This repository was archived by the owner on Feb 13, 2021. It is now read-only.

Commit 4a37edc

Browse files
author
staticdev
committed
Removed windows
1 parent 1522669 commit 4a37edc

1 file changed

Lines changed: 7 additions & 26 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,16 @@ jobs:
44
tests:
55
strategy:
66
matrix:
7-
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
7+
os: ["ubuntu-latest", "macos-latest"]
88
python-version: ["3.7", "3.8"]
9-
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
109
runs-on: ${{ matrix.os }}
10+
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
1111
steps:
1212
- uses: actions/checkout@v2.1.0
1313
- 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: |
1617
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

Comments
 (0)