Merge pull request #405 from LCOGT/bugfix/cals-by-block-migrate #247
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: Build/Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
linuxtest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11', '3.12', '3.13'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: pip install poetry | |
- name: Set up project | |
run: poetry install -E cpu -E test | |
- name: Run tests | |
run: poetry run pytest --pyargs banzai.tests -m "not e2e" | |
macos: # New macOS job | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
python-version: ['3.12'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: pip install poetry | |
- name: Set up project | |
run: poetry install -E cpu -E test | |
- name: Run tests | |
run: poetry run pytest --pyargs banzai.tests -m "not e2e" |