diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 852eb37..a0e2585 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -25,6 +25,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: '17' + distribution: 'adopt' - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 @@ -43,6 +44,7 @@ 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 run: | pytest