Ase calculator #15
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: Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
# Check all PR | |
concurrency: | |
group: tests-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} / Python ${{ matrix.python-version }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-20.04 | |
python-version: "3.9" | |
- os: ubuntu-20.04 | |
python-version: "3.12" | |
- os: macos-14 | |
python-version: "3.12" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: install tests dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: run tests | |
run: tox | |
env: | |
PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu |