File tree Expand file tree Collapse file tree 1 file changed +33
-4
lines changed Expand file tree Collapse file tree 1 file changed +33
-4
lines changed Original file line number Diff line number Diff line change 15
15
- name : Checkout repository
16
16
uses : actions/checkout@v4
17
17
18
- -
uses :
prefix-dev/[email protected]
18
+ - name : Setup Conda
19
+ uses : conda-incubator/setup-miniconda@v3
19
20
with :
20
- pixi-version : v0.25.0
21
- cache : true
21
+ miniforge-variant : Mambaforge
22
+ miniforge-version : latest
23
+ activate-environment : test_env
24
+ use-mamba : true
25
+ python-version : " 3.9"
22
26
23
- - run : pixi run test
27
+ - name : Cache conda env
28
+ uses : actions/cache@v3
29
+ with :
30
+ path : |
31
+ /usr/share/miniconda/envs/test_env
32
+ ~/.conda/pkgs
33
+ key : conda-${{ runner.os }}-${{ hashFiles('pyproject.toml') }}
34
+ restore-keys : |
35
+ conda-${{ runner.os }}-
36
+
37
+ - name : Install dependencies
38
+ shell : bash -l {0}
39
+ run : |
40
+ # Install dependencies from pyproject.toml
41
+ mamba install -y -c conda-forge \
42
+ tomlkit \
43
+ requests \
44
+ tqdm \
45
+ pandas \
46
+ pytest \
47
+ make
48
+
49
+ - name : Run tests
50
+ shell : bash -l {0}
51
+ run : |
52
+ make test
You can’t perform that action at this time.
0 commit comments