diff --git a/.github/workflows/python-package.yml b/.github/workflows/test.yml similarity index 96% rename from .github/workflows/python-package.yml rename to .github/workflows/test.yml index 41d7092..4eb1ad5 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: Python package +name: test on: push: @@ -35,6 +35,6 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --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 - - name: Test with pytest + - name: Test run: | python test.py