-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (31 loc) · 963 Bytes
/
test.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: data-services
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
# ARDC NRT
- uses: conda-incubator/setup-miniconda@v2
with:
installer-url: https://repo.anaconda.com/miniconda/Miniconda3-py38_4.11.0-Linux-x86_64.sh
auto-update-conda: true
environment-file: AODN/AODN-WAVE-NRT/ARDC_API_NRT/environment.yml
activate-environment: ardc_nrt
- name: unittests - ARDC_NRT module
shell: bash -l {0}
run: |
pytest AODN/AODN-WAVE-NRT/ARDC_API_NRT
- name: unittests - data-services common library
shell: bash -l {0}
run: |
conda env update -f environment.yml
conda activate data_services_3.8
export PYTHONPATH=lib/python
pytest lib/test/python