index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Dylan M. Taylor <dylan@dylanmtaylor.com> | 2021-05-15 09:57:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-15 09:57:10 -0400 |
commit | 2d5564a7c2f1b7b79c948f9f19a680dea6cb001d (patch) | |
tree | f214c6321c4b44b9b7f43ebb1c8bf5aef3fd12fc /.github/workflows | |
parent | be94c7d5fe1cc2e34dfa84f83d87a22a234359fd (diff) |
-rw-r--r-- | .github/workflows/lint-python.yaml | 17 |
diff --git a/.github/workflows/lint-python.yaml b/.github/workflows/lint-python.yaml index 516c7b4f..6cba4705 100644 --- a/.github/workflows/lint-python.yaml +++ b/.github/workflows/lint-python.yaml @@ -10,7 +10,7 @@ jobs: - run: pacman --noconfirm -Syu python mypy - name: run mypy run: mypy . --ignore-missing-imports - lint: + flake8: runs-on: ubuntu-latest container: image: archlinux:latest @@ -18,10 +18,23 @@ jobs: - uses: actions/checkout@v2 - run: pacman --noconfirm -Syu python python-pip - run: python -m pip install --upgrade pip - - run: pip install flake8 pytest + - run: pip install flake8 - name: Lint with flake8 run: | # stop the build if there are Python syntax errors flake8 . --count --select=E9,F63,F7 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + pytest: + runs-on: ubuntu-latest + container: + image: archlinux:latest + steps: + - uses: actions/checkout@v2 + - run: pacman --noconfirm -Syu python python-pip + - run: python -m pip install --upgrade pip + - run: pip install pytest + # TODO: Add tests and enable pytest checks. +# - name: Test with pytest +# run: | +# pytest |