-
Notifications
You must be signed in to change notification settings - Fork 17
41 lines (33 loc) · 1017 Bytes
/
ci-dev.yml
File metadata and controls
41 lines (33 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ci-dev
on:
push:
branches: [main]
jobs:
test-dev-versions:
continue-on-error: true
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --extra chgnet --extra dpa3 --extra d3 --extra grace --extra mace --extra orb --extra upet --extra plumed
# Full reinstall in case the version number is the same as the last release
- name: Uninstall release versions
run: uv pip uninstall ase mace-torch
- name: Install dev versions
run: |
uv pip install \
https://gitlab.com/ase/ase.git \
https://github.com/ACEsuit/mace.git
- name: Run test suite
env:
# show timings of tests
PYTEST_ADDOPTS: "--durations=0"
run: uv run --no-sync pytest .