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

Commit 554f363

Browse files
author
Thiago C. D'Ávila
authored
Merge pull request #30 from staticdev/windows
Added windows tests
2 parents 203e26b + c986ad2 commit 554f363

5 files changed

Lines changed: 38 additions & 13 deletions

File tree

.github/workflows/constraints.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
pip==20.1
22
nox==2019.11.9
33
poetry==1.0.5
4-
pre-commit==2.3.0

.github/workflows/coverage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: Coverage
2+
23
on: [push, pull_request]
4+
35
jobs:
46
coverage:
57
runs-on: ubuntu-latest
68
steps:
79
- uses: actions/checkout@v2.1.0
8-
- uses: actions/setup-python@v1.2.0
10+
- uses: actions/setup-python@v2
911
with:
1012
python-version: "3.8"
1113
- run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2.1.0
10-
- uses: actions/setup-python@v1.2.0
10+
- uses: actions/setup-python@v2
1111
with:
1212
python-version: "3.8"
1313
- run: |

.github/workflows/tests.yml

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,43 @@
11
name: Tests
2+
23
on: [push, pull_request]
4+
35
jobs:
46
tests:
7+
name: Tests (${{ matrix.python-version }}, ${{ matrix.os }})
8+
runs-on: ${{ matrix.os }}
59
strategy:
10+
fail-fast: false
611
matrix:
7-
os: ["ubuntu-latest", "macos-latest"]
8-
python-version: ["3.7", "3.8"]
9-
runs-on: ${{ matrix.os }}
10-
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
12+
include:
13+
- { python-version: 3.8, os: ubuntu-latest }
14+
# - { python-version: 3.8, os: windows-latest }
15+
- { python-version: 3.8, os: macos-latest }
16+
- { python-version: 3.7, os: ubuntu-latest }
1117
steps:
12-
- uses: actions/checkout@v2.1.0
13-
- uses: actions/setup-python@v1.2.0
18+
- name: Check out the repository
19+
uses: actions/checkout@v2.1.0
20+
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
1423
with:
1524
python-version: ${{ matrix.python-version }}
16-
- run: |
25+
26+
- name: Upgrade pip
27+
run: |
1728
pip install --constraint=.github/workflows/constraints.txt pip
18-
pip install --constraint=.github/workflows/constraints.txt nox poetry
19-
- run: nox --force-color
29+
pip --version
30+
31+
- name: Install Poetry
32+
run: |
33+
pip install --constraint=.github/workflows/constraints.txt poetry
34+
poetry --version
35+
36+
- name: Install Nox
37+
run: |
38+
pip install --constraint=.github/workflows/constraints.txt nox
39+
nox --version
40+
41+
- name: Run Nox
42+
run: |
43+
nox --force-color

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.5.0
3+
rev: v3.0.1
44
hooks:
55
- id: check-toml
66
- id: check-yaml

0 commit comments

Comments
 (0)