release: v2.0.1 #486
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: validate | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/lint | |
test: | |
strategy: | |
matrix: | |
python: ['3.10', '3.11', '3.12'] | |
# macos-13 is amd64, macos-14 is arm64 | |
# skipping macos-13 here because newer versions of torch aren't being built for amd64 macOS anymore | |
# the brew builds for amd64 macOS are being validated during brew release | |
os: [ubuntu-22.04, macos-14, windows-2022] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade poetry | |
poetry install | |
- run: make test |