Update BUILDING.md #154
Workflow file for this run
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: Run tests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy3.9"] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set min macOS version | |
if: runner.os == 'macOS' | |
run: | | |
echo "MACOS_DEPLOYMENT_TARGET=10.14" >> $GITHUB_ENV | |
- name: Build and install | |
run: python -m pip install pytest | |
pip install --verbose . | |
- name: Test with pytest | |
run: | | |
cd tests | |
python -m pytest |