-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (44 loc) · 1.13 KB
/
test.yaml
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
name: conda
on: [push]
jobs:
constructor:
name: conda build (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}-latest
defaults:
run:
shell: ${{ matrix.shell }}
strategy:
matrix:
# os: [ubuntu, windows, macos]
os: [ubuntu]
python-version: ["3.9"]
include:
- os: ubuntu
shell: bash -l {0}
# - os: windows
# shell: cmd /C call {0}
# - os: macos
# shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: environment.yml
miniforge-variant: Mambaforge
miniforge-version: latest
mamba-version: "*"
use-mamba: true
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
make test