-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (30 loc) · 970 Bytes
/
python.yml
File metadata and controls
34 lines (30 loc) · 970 Bytes
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: python
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.12"
environment-file: environment.yml
auto-activate-base: false
- name: Installation and setup
shell: bash -l {0}
run: |
sudo apt-get update
sudo apt-get install -y librdmacm1 libibverbs1 libmlx4-1 libmlx5-1
pip install -e adis_tools
pip install -e python_workflow_definition
conda install -c conda-forge jupyter papermill
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
- name: Tests
shell: bash -l {0}
run: |
papermill universal_simple_to_python.ipynb universal_simple_to_python_out.ipynb -k "python3"
papermill universal_qe_to_python.ipynb universal_qe_to_python_out.ipynb -k "python3"