Skip to content

Commit 87a2733

Browse files
Merge pull request #51 from CosmoStat/develop
Update ci-build.yml
2 parents 590795b + 1865245 commit 87a2733

1 file changed

Lines changed: 7 additions & 27 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
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}
@@ -66,12 +52,6 @@ jobs:
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: |

0 commit comments

Comments
 (0)