Skip to content

Commit 15a0324

Browse files
committed
fix build hopefully
1 parent eff60a9 commit 15a0324

File tree

4 files changed

+306
-47
lines changed

4 files changed

+306
-47
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ jobs:
2323
uses: actions/setup-python@v2
2424
with:
2525
python-version: ${{ matrix.python-version }}
26+
- name: Set up Poetry
27+
uses: abatilo/[email protected]
28+
with:
29+
poetry-version: 1.1.5
2630
- name: Install dependencies
27-
run: |
28-
python -m pip install --upgrade pip setuptools wheel
29-
pip install -e .
30-
pip install -e .[test]
31-
pip install -e .[setup]
32-
- name: Test with pytest
33-
run: |
34-
pytest
31+
run: poetry install
32+
- name: Run tests
33+
run: poetry run pytest

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
with:
2020
poetry-version: 1.1.5
2121
- name: Build
22-
run: poetry build
22+
run: |
23+
poetry install
24+
poetry build
2325
- name: Create release
2426
uses: actions/create-release@v1
2527
env:

0 commit comments

Comments
 (0)