Skip to content

Commit

Permalink
change testing strategy to work on ubuntu, macos and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmpercussion committed Aug 8, 2024
1 parent d03cd4c commit 09b593a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ permissions:

jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ubuntu-latest
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v4
Expand All @@ -35,4 +38,4 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

0 comments on commit 09b593a

Please sign in to comment.