Skip to content

Commit 9bdd655

Browse files
author
Patrick Vogel
committed
Let's see if it works
1 parent 5faaf47 commit 9bdd655

File tree

4 files changed

+7
-78
lines changed

4 files changed

+7
-78
lines changed

.github/workflows/python-publish.yml

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66

77
jobs:
88
deploy:
9-
109
runs-on: ubuntu-latest
1110

1211
steps:

.github/workflows/pythonapp.yml renamed to .github/workflows/python-test.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python application
1+
name: Python Testing
22

33
on: [push]
44

@@ -23,9 +23,13 @@ jobs:
2323
- name: Lint with flake8
2424
run: |
2525
pip install flake8
26-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
27-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics
26+
flake8 . --max-line-length=100 --ignore=F401, W503
27+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=100 --statistics
2828
- name: Test with unittest
2929
run: |
3030
coverage run setup.py test
3131
coverage
32+
- name: Upload coverage to Codecov
33+
uses: codecov/codecov-action@v1
34+
with:
35+
fail_ci_if_error: true

config/.pre-commit-config.yaml

-10
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,3 @@ repos:
99
hooks:
1010
- id: flake8
1111
args: ['--max-line-length=100', '--ignore=F401, W503']
12-
- repo: local
13-
hooks:
14-
- id: version_increase
15-
name: version_increase
16-
description: Increase version in constants.json
17-
entry: env/bin/python config/increase_version.py
18-
language: python
19-
files: ^$
20-
args: ['patch']
21-
always_run: true

config/increase_version.py

-64
This file was deleted.

0 commit comments

Comments
 (0)