Skip to content

Commit

Permalink
Using poetry instead of pip in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-sheldon committed May 13, 2024
1 parent f032df7 commit 320608c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/stability_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ jobs:
- uses: actions/checkout@v3

- name: Install Cython dependencies
run: sudo apt update && sudo apt install -y gcc build-essential python3-dev
run: sudo apt update && sudo apt install -y gcc build-essential python3-dev curl

- name: Install setuptools
run: python3 -m pip install setuptools --upgrade

- name: Install adeft
run: python3 -m pip install --no-cache-dir --use-deprecated=legacy-resolver git+https://github.com/gyorilab/adeft.git#egg=adeft
- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 -

- name: Install python dependencies
run: python3 -m pip install .
run: poetry install

- name: Run tests
run: python3 -m pytest -v
run: poetry run pytest -v

0 comments on commit 320608c

Please sign in to comment.