Remove flake8 #345
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| # no permissions by default | |
| permissions: {} | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| run: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| python-version: [ "3.11", "3.12", "3.13", "3.14" ] | |
| os: [ ubuntu-latest ] | |
| include: | |
| - os: windows-latest | |
| python-version: "3.14" | |
| - os: macos-latest | |
| python-version: "3.14" | |
| fail-fast: false | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install windrose | |
| run: | | |
| python -m pip install -e .[extras,tests] | |
| - name: Tests | |
| run: | | |
| pytest -s -rxs -vv -Werror tests/ --mpl --mpl-generate-summary=html \ | |
| --mpl-results-path="windrose_test_output-${{ matrix.os }}-${{ matrix.python-version }}" | |
| - name: Store mpl-results | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: failure() | |
| with: | |
| name: "windrose_test_output-${{ matrix.os }}-${{ matrix.python-version }}" | |
| path: "windrose_test_output-${{ matrix.os }}-${{ matrix.python-version }}" | |
| retention-days: 1 |