-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 918 Bytes
/
main.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
name: integration_test_cli
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo content
uses: actions/checkout@v2
- name: Install Mamba
run: |
conda install -c conda-forge mamba -y
- name: Print environment variables
run: |
printenv
- name: Find Mamba executable path
run: |
MAMBA_PATH=$(which mamba)
echo "Mamba is installed at: $MAMBA_PATH"
- name: Create Conda Environment
run: |
$MAMBA_PATH create -n marine_environment python=3.10 -y
conda activate marine_environment
$MAMBA_PATH env update -n marine_environment -f marine_environment.yml
- name: Execute Integration Tests
run: |
conda activate marine_environment
bash tests/integration_tests_run.sh