-
Notifications
You must be signed in to change notification settings - Fork 20
34 lines (34 loc) · 1.03 KB
/
ci.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
name: ci
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.9
mamba-version: "*"
channels: pytorch, pyg, conda-forge
channel-priority: true
activate-environment: exatrkx-cpu
environment-file: cpu_environment.yml
auto-activate-base: false
# - name: Install libraries
# run: mamba env update -n exatrkx-cpu -f cpu_environment.yml
# - name: Activate environment
# run: $CONDA/bin/activate exatrkx-cpu
# - name: Setup libraries
# run: pip install -e .
- run: |
conda info
conda list
- name: Test Import
run: |
$CONDA/bin/activate exatrkx-cpu
conda info
conda list
python -c 'from Pipelines.TrackML_Example.LightningModules.Embedding.embedding_base import EmbeddingBase'