-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (46 loc) · 1.19 KB
/
unix.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
name: Test on Linux and MacOS
on:
- push
- pull_request
jobs:
tests:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: create environment with mamba
uses: conda-incubator/setup-miniconda@v3
with:
channels: conda-forge
python-version: 3.11
auto-update-conda: true
activate-environment: test
- name: test install conda-app
run: |
which python
python -m pip install -e .
which conda-app
- name: test install mercurial
run: |
conda-app install mercurial
conda env list
- name: test installed mercurial
run: |
if [ -f $HOME/.bash_profile ]; then
. $HOME/.bash_profile;
else
. $HOME/.bashrc;
fi
hg version -v
mkdir -p $HOME/tmp
cd $HOME/tmp
hg clone https://github.com/fluiddyn/conda-app.git
cd conda-app