make test timezone aware #109
This file contains 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: Test on macOS with brew | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
jobs: | ||
osx_wheel: | ||
strategy: | ||
matrix: | ||
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] | ||
runs-on: ["macos-12", "macos-13", "macos-14", "macos-15"] | ||
exclude: | ||
- os: "macos-12" | ||
Check failure on line 14 in .github/workflows/osx-test-with-brew.yml GitHub Actions / Test on macOS with brewInvalid workflow file
|
||
python-version: "3.13" | ||
runs-on: ${{ matrix.runs-on }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install snap7 | ||
run: brew install snap7 python@${{ matrix.python-version }} | ||
- name: Install python-snap7 | ||
run: | | ||
python${{ matrix.python-version }} -m venv venv | ||
venv/bin/python3 -m pip install --upgrade pip setuptools | ||
venv/bin/python3 -m pip install -e .[test] | ||
- name: Run pytest | ||
run: | | ||
venv/bin/pytest -m "server or util or client or mainloop" | ||
sudo venv/bin/pytest -m partner |