Skip to content

Added sample_kind to ModelOutput, without breaking changes #127

Added sample_kind to ModelOutput, without breaking changes

Added sample_kind to ModelOutput, without breaking changes #127

Workflow file for this run

name: ASE integration
on:
push:
branches: [main]
pull_request:
# Check all PR
concurrency:
group: ase-tests-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
tests:
runs-on: ubuntu-24.04
name: tests
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: setup Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.9
with:
version: "v0.10.0"
- name: Setup sccache environnement variables
run: |
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
echo "CMAKE_C_COMPILER_LAUNCHER=sccache" >> $GITHUB_ENV
echo "CMAKE_CXX_COMPILER_LAUNCHER=sccache" >> $GITHUB_ENV
- name: install tests dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox coverage
- name: run tests
run: tox -e ase-tests
env:
PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu
- name: combine Python coverage files
shell: bash
run: |
coverage combine .tox/*/.coverage
coverage xml
- name: upload to codecov.io
uses: codecov/codecov-action@v6
with:
fail_ci_if_error: true
files: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}