Skip to content

Commit

Permalink
add build target to Makefile, install poetry before running python-pa…
Browse files Browse the repository at this point in the history
…ckage-shared
  • Loading branch information
chris48s committed Sep 4, 2023
1 parent 2bf4cf9 commit c32a727
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ jobs:
uses: chris48s/python-package-shared@main
with:
python-version: ${{ matrix.python-version }}
pre-install: poetry
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SHELL := /bin/bash
.PHONY: help format install lint test release
.PHONY: help format install lint test build release

help:
@grep '^\.PHONY' Makefile | cut -d' ' -f2- | tr ' ' '\n'
Expand All @@ -20,6 +20,9 @@ test:
poetry run coverage run --source=arcgis2geojson ./run_tests.py
poetry run coverage xml

build:
poetry build

release:
# usage: `make release version=0.0.0`
make test
Expand Down

0 comments on commit c32a727

Please sign in to comment.