-
Notifications
You must be signed in to change notification settings - Fork 5
65 lines (55 loc) · 1.4 KB
/
CI.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: full_tests
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
schedule:
# nightly tests, 2 am
- cron: "0 2 * * *"
concurrency:
# Probably overly cautious group naming.
# Commits to develop/master will cancel each other, but PRs will only cancel
# commits within the same PR
group: "${{ github.ref }}-${{ github.head_ref }}"
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.11",]
steps:
- uses: actions/[email protected]
- uses: conda-incubator/[email protected]
with:
python-version: "${{ matrix.python-version }}"
environment-file: .binder/environment.yml
activate-environment: test
auto-activate-base: false
mamba-version: "*"
miniforge-version: latest
miniforge-variant: Mambaforge
use-mamba: true
channel-priority: true
- name: Additional info about the build
run: |
uname -a
df -h
ulimit -a
- name: Environment Information
run: |
conda info
conda list
- name: Run example notebooks
run: |
python -m pytest -v setup/ openmm_rbfe/ networks/ --nbval-lax -n auto --dist loadscope