Testing on macos-latest #12
This file contains hidden or 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: Testing on macos-latest | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '0 12 * * 0' | |
| jobs: | |
| build: | |
| runs-on: macOS-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install build requirements | |
| run: | | |
| brew update | |
| brew install cmake | |
| pip install --upgrade -r build_requirements.txt | |
| - name: make | |
| shell: bash | |
| run: | | |
| pip install . | |
| - name: Install test requirements & set configuration variables | |
| run: | | |
| pip install -r test_requirements.txt | |
| - name: make test | |
| shell: bash | |
| run: | | |
| python -m pytest -rsap -x -m "not requires_ase" tests | |
| - name: make | |
| shell: bash | |
| run: | | |
| pip install ".[ase]" | |
| - name: make test ase | |
| shell: bash | |
| run: | | |
| python -m pytest -rsap -x -m "requires_ase" tests |