File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 fail-fast : false
1515 matrix :
1616 os : [ubuntu-latest, macos-latest]
17- python-version : [3.8 ]
17+ python-version : [3.10.12 ]
1818
1919 steps :
2020 - name : Checkout
@@ -29,29 +29,15 @@ jobs:
2929 env :
3030 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3131
32- - name : Set up Conda with Python ${{ matrix.python-version }}
33- uses : conda-incubator/setup-miniconda@v2
34- with :
35- auto-update-conda : true
36- python-version : ${{ matrix.python-version }}
37- auto-activate-base : false
38-
39- - name : Check Conda
40- shell : bash -l {0}
41- run : |
42- conda info
43- conda list
44- python --version
32+ - name : Install Poetry
33+ run : pip install poetry
4534
4635 - name : Install Dependencies
4736 shell : bash -l {0}
48- run : |
49- python --version
50- python -m pip install --upgrade pip
51- python -m pip install -r develop.txt
52- python -m pip install -r docs/requirements.txt
53- python -m pip install twine
54- python -m pip install .
37+ run : poetry install
38+
39+ - name : Build Package
40+ run : poetry build
5541
5642 - name : Run Tests
5743 shell : bash -l {0}
6652 name : unit-test-results-${{ matrix.os }}-${{ matrix.python-version }}
6753 path : pytest.xml
6854
69- - name : Check Distribution
70- shell : bash -l {0}
71- run : |
72- python setup.py sdist
73- twine check dist/*
74-
7555 - name : Check API Documentation build
7656 shell : bash -l {0}
7757 run : |
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " cs_util"
3- version = " 0.1.3 "
3+ version = " 0.1.4 "
44description = " Utility library for CosmoStat"
55authors = [" Martin Kilbinger <martin.kilbinger@cea.fr>" ]
66readme = " README.md"
77
88[tool .poetry .dependencies ]
9- python = " >=3.9 ,<3.13"
10- astropy = " ^5 .0"
9+ python = " >=3.11 ,<3.13"
10+ astropy = " ^7 .0"
1111datetime = " ^5.5"
1212numpy = " ^1.26.4"
1313matplotlib = " ^3.8.4"
You can’t perform that action at this time.
0 commit comments