| 1 |
# Run tests on Mac OS. |
| 2 |
name: test_macos |
| 3 |
on: [push, pull_request] |
| 4 |
permissions: read-all |
| 5 |
jobs: |
| 6 |
test_macos: |
| 7 |
runs-on: ${{ matrix.os }} |
| 8 |
strategy: |
| 9 |
matrix: |
| 10 |
include: |
| 11 |
- os: macos-26 |
| 12 |
python-version: '3.14' |
| 13 |
toxenv: 'py314' |
| 14 |
steps: |
| 15 |
- uses: actions/checkout@v5 |
| 16 |
- name: Install dependencies |
| 17 |
run: | |
| 18 |
brew update -q |
| 19 |
brew install -q gettext gnu-sed python@${{ matrix.python-version }} tox || true |
| 20 |
brew link --force gettext |
| 21 |
- name: Run tests |
| 22 |
run: | |
| 23 |
tox -e ${{ matrix.toxenv }} |