Skip to content

Commit 244b2e7

Browse files
author
cmdupuis3
committed
merge from origin
2 parents 749ac26 + cdf0bad commit 244b2e7

File tree

7 files changed

+3164
-36
lines changed

7 files changed

+3164
-36
lines changed

.github/workflows/main.yaml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ on:
99
- cron: "0 0 * * *"
1010

1111
jobs:
12-
lint:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/[email protected]
16-
- uses: actions/[email protected]
17-
- uses: pre-commit/[email protected]
18-
1912
test:
2013
name: ${{ matrix.python-version }}-build
2114
runs-on: ubuntu-latest
@@ -25,7 +18,7 @@ jobs:
2518
steps:
2619
- uses: actions/[email protected]
2720
- name: Setup Python
28-
uses: actions/setup-python@v2.2.2
21+
uses: actions/setup-python@v2.3.0
2922
with:
3023
python-version: ${{ matrix.python-version }}
3124
architecture: x64
@@ -41,7 +34,13 @@ jobs:
4134
python -m pip list
4235
- name: Running Tests
4336
run: |
44-
python -m pytest --verbose
37+
py.test --verbose --cov=. --cov-report=xml
38+
- name: Upload coverage to Codecov
39+
uses: codecov/[email protected]
40+
if: ${{ matrix.python-version }} == 3.9
41+
with:
42+
file: ./coverage.xml
43+
fail_ci_if_error: false
4544

4645
test-upstream:
4746
name: ${{ matrix.python-version }}-dev-build
@@ -52,7 +51,7 @@ jobs:
5251
steps:
5352
- uses: actions/[email protected]
5453
- name: Setup Python
55-
uses: actions/setup-python@v2.2.2
54+
uses: actions/setup-python@v2.3.0
5655
with:
5756
python-version: ${{ matrix.python-version }}
5857
architecture: x64
@@ -71,4 +70,4 @@ jobs:
7170
python -m pip list
7271
- name: Running Tests
7372
run: |
74-
python -m pytest --verbose
73+
py.test --verbose --cov=.

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ci:
2+
autoupdate_schedule: quarterly
3+
autofix_prs: false
4+
15
repos:
26
- repo: https://github.com/pre-commit/pre-commit-hooks
37
rev: v4.0.1

dev-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pytest
2-
coverage
2+
pytest-cov
3+
adlfs
34
-r requirements.txt

0 commit comments

Comments
 (0)