Get PathObservationTestCase tests to pass #46
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
| on: | |
| push: | |
| pull_request: | |
| # Allow to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.x | |
| - run: python -m pip install --upgrade pip | |
| - run: pip install build setuptools | |
| - run: pip install --editable . | |
| - run: python -m build | |
| - uses: actions/upload-artifact@v5 | |
| with: | |
| name: MacFSEvents | |
| path: ./dist/ | |
| test: | |
| strategy: | |
| # We want to see all failures: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - ["3.8", "py38", "macos-14"] | |
| - ["3.9", "py39", "macos-14"] | |
| - ["3.9", "lint", "macos-14"] | |
| - ["3.9", "py39", "macos-14"] | |
| - ["3.10", "py310", "macos-14"] | |
| - ["3.11", "py311", "macos-14"] | |
| - ["3.12", "py312", "macos-14"] | |
| - ["3.13", "py313", "macos-14"] | |
| - ["3.14", "py314", "macos-14"] | |
| - ["3.14", "py314", "macos-15-intel"] | |
| - ["3.14", "py314", "macos-15"] | |
| - ["3.14", "py314", "macos-26"] | |
| runs-on: ${{ matrix.config[2] }} | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: ${{ matrix.config[0] }}-${{ matrix.config[1] }}-${{ matrix.config[2] }} | |
| steps: | |
| - run: git config --global core.autocrlf false | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.config[0] }} | |
| - name: Pip cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip-${{ matrix.config[0] }}- | |
| ${{ runner.os }}-pip- | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install tox | |
| - name: Test | |
| run: tox -e ${{ matrix.config[1] }} |