aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml25
1 files changed, 19 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c9f83e4e..c856523b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -17,22 +17,35 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: TrueBrain/actions-flake8@v1.2
- lint-local:
- # do not use external action when secrets are exposed.
+ flake8:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- - run: pip install flake8
- - run: flake8 mitmproxy pathod examples test release
+ - run: pip install tox
+ - run: tox -e flake8
+ filename_matching:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: actions/setup-python@v1
+ - run: pip install tox
+ - run: tox -e filename_matching
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- - run: pip install mypy
- - run: mypy .
+ - run: pip install tox
+ - run: tox -e mypy
+ individual_coverage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: actions/setup-python@v1
+ - run: pip install tox
+ - run: tox -e individual_coverage
test:
strategy:
fail-fast: false