-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 746 Bytes
/
Copy pathtests.yml
File metadata and controls
32 lines (27 loc) · 746 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
name: tests
on: push
jobs:
gcc:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Cache conda packages
uses: actions/cache@v4
env:
CACHE_VERSION: 0
with:
path: ~/conda_pkgs_dir
key: conda-v${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: opzioni
auto-activate-base: false
environment-file: environment.yml
channels: conda-forge
conda-remove-defaults: "true"
- run: make setup-gcc
- run: make build
- run: make test