@@ -16,7 +16,7 @@ concurrency:
1616
1717defaults :
1818 run :
19- shell : bash -l {0}
19+ shell : bash -leo pipefail {0}
2020
2121jobs :
2222 unittests :
@@ -26,37 +26,37 @@ jobs:
2626 fail-fast : false
2727 matrix :
2828 os : [ubuntu-latest, ]
29- python-version : ["3.9", "3.10", "3.11", "3.12"]
29+ python-version : ["3.9", "3.10", "3.11", "3.12", "3.13" ]
3030 include :
3131 - os : windows-latest
32- python-version : " 3.12 "
32+ python-version : " 3.13 "
3333 - os : macos-latest
34- python-version : " 3.12 "
34+ python-version : " 3.13 "
3535
3636 steps :
37- - uses : actions/checkout@v2
37+ - uses : actions/checkout@v4
3838
39- - name : setup_miniconda
40- uses : conda-incubator /setup-miniconda @v2
39+ - name : setup_micromamba
40+ uses : mamba-org /setup-micromamba @v2
4141 with :
42- python-version : ${{ matrix.python-version }}
43- auto-update-conda : true
44- channel-priority : flexible
45- channels : conda-forge
46- add-pip-as-python-dependency : true
47- use-mamba : true
48- miniforge-variant : Mambaforge
42+ environment-name : mda
43+ create-args : >-
44+ python=${{ matrix.python-version }}
45+ pip
46+ condarc : |
47+ channels:
48+ - conda-forge
4949
5050 - name : install package deps
5151 run : |
52- mamba install numpy scipy mrcfile pytest pytest-cov codecov
52+ micromamba install numpy scipy mrcfile pytest pytest-cov codecov
5353
5454 - name : check install
5555 run : |
5656 which python
5757 which pip
58- conda info
59- conda list
58+ micromamba info
59+ micromamba list
6060
6161 - name : install package
6262 run : |
6767 pytest -v --cov=gridData --cov-report=xml --color=yes ./gridData/tests
6868
6969 - name : codecov
70- uses : codecov/codecov-action@v3
70+ uses : codecov/codecov-action@v4
7171 if : github.event_name != 'schedule'
7272 with :
7373 file : coverage.xml
7474 fail_ci_if_error : True
7575 verbose : True
76+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments