diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2019-12-31 16:03:45 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2019-12-31 16:27:22 +0100 |
commit | 40925181e9d64c727f75e89acf0205bb4b87bb3a (patch) | |
tree | a61834dd85444d50ce04cd1aa157875dbfc03967 /.github/workflows/main.yml | |
parent | 7b638f1b6b543ec5e23170217a42ca0e5c421992 (diff) | |
download | mitmproxy-40925181e9d64c727f75e89acf0205bb4b87bb3a.tar.gz mitmproxy-40925181e9d64c727f75e89acf0205bb4b87bb3a.tar.bz2 mitmproxy-40925181e9d64c727f75e89acf0205bb4b87bb3a.zip |
re-add missing CI steps and fix linting
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 25 |
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 |