Skip to content

Update featomic (#8) #28

Update featomic (#8)

Update featomic (#8) #28

Workflow file for this run

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