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 371b705
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/stability_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,20 @@ on:
- "src/*"
workflow_dispatch:

env:
PLATFORM: ${{ vars.PLATFORM }}

jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

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

- name: Install setuptools
run: python3 -m pip install setuptools --upgrade
run: sudo apt update && sudo apt install -y gcc build-essential python3-dev curl

- 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
Empty file removed setup.py
Empty file.

0 comments on commit 371b705

Please sign in to comment.