Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit ae86e73

Browse files
committed
Merge branch 'poetry' of github.com:bjones1/RunestoneComponents into bjones1-poetry
2 parents 3aed04c + 90c22cf commit ae86e73

File tree

10 files changed

+1799
-458
lines changed

10 files changed

+1799
-458
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,12 @@ jobs:
3737
- name: Install dependencies
3838
run: |
3939
python -m pip install --upgrade pip
40-
python -m pip install flake8 pytest
41-
# Install as editable so that tests run in cwd, instead of in wherever Python puts system lib. This is important because tests are run on the local (not system lib) files. Therefore, the npm run build produces its files locally, not in system libs; if installed in system libs, then the components won't be able to find these files.
42-
pip install -e .
43-
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
40+
# Install Poetry per the `instructions <https://python-poetry.org/docs/#osx--linux--bashonwindows-install-instructions>`.
41+
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
42+
$HOME/.poetry/bin/poetry install
4443
- name: Tests
4544
run: |
46-
pytest
45+
$HOME/.poetry/bin/poetry run pytest
4746
4847
- uses: act10ns/slack@v1
4948
with:

MANIFEST.in

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)