Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ronald-jaepel committed Apr 23, 2024
1 parent 31ae347 commit 0298468
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get Date
id: get-date
Expand All @@ -43,13 +43,20 @@ jobs:
path: ${{ env.CONDA }}/envs
key: python_${{ matrix.python-version }}-${{ steps.get-date.outputs.today }}-${{ env.CACHE_NUMBER }}

- name: Test Wheel install and import
- name: Set up python env
run: |
mamba install python==${{ matrix.python-version }}
pip install wheel
python setup.py bdist_wheel
cd dist
pip install CADET_Python*.whl
pip install .
- name: Install pypa/build
run: |
python -m pip install build --user
- name: Build binary wheel and source tarball
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Test Wheel install and import
run: |
python -c "import cadet; print(cadet.__version__)"
cd ..
- name: Test with pytest
Expand Down

0 comments on commit 0298468

Please sign in to comment.