exclude oldest (pytorch) macos tests due to tokenizers build error #318
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: # Trigger the workflow on push or pull request, but only for the main branch | |
push: | |
branches: [main, "release/*"] | |
pull_request: | |
branches: [main, "release/*"] | |
# env: | |
# PACKAGE_NAME: "pytorch" | |
jobs: | |
mypy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
pip install '.[dev]' | |
pip list | |
- run: mypy --install-types --non-interactive |