name: Python on: push: paths: - "**.py" - "pyproject.toml" - ".github/workflows/python.yml" pull_request: paths: - "**.py" - "pyproject.toml" - ".github/workflows/python.yml" jobs: build: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.x" - name: Build run: python -m build - name: Test run: python -m unittest discover -s src/locusts-r-us