File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Python Package using Conda
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build-linux :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ package :
11
+ - spectrafit
12
+ - spectrafit-jupyter
13
+ - spectrafit-all
14
+ - spectrafit-rixs
15
+ max-parallel : 5
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ - name : Set up Python 3.10
20
+ uses : actions/setup-python@v3
21
+ with :
22
+ python-version : ' 3.10'
23
+ - name : Add conda to system path
24
+ run : |
25
+ # $CONDA is an environment variable pointing to the root of the miniconda directory
26
+ echo $CONDA/bin >> $GITHUB_PATH
27
+ # - name: Install dependencies
28
+ # run: |
29
+ # conda env update --file environment.yml --name base
30
+ - name : Install spectrafit package
31
+ run : |
32
+ conda install -c conda-forge ${{ matrix.package }}
You can’t perform that action at this time.
0 commit comments