diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 56520b3..7a23432 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -32,6 +32,12 @@ jobs: - name: Install dependencies run: poetry install + - name: Generate project files + run: make clean all + + - name: Test project + run: make test + - name: Build source and wheel archives run: poetry build diff --git a/Makefile b/Makefile index 837e687..1549bb0 100644 --- a/Makefile +++ b/Makefile @@ -105,7 +105,7 @@ create-data-harmonizer: npm init data-harmonizer $(SOURCE_SCHEMA_PATH) all: site -site: gen-project gendoc +site: gen-project gendoc $(PYDANTIC) %.yaml: gen-project deploy: all mkd-gh-deploy @@ -219,6 +219,6 @@ clean: rm -rf $(DEST) rm -rf tmp rm -fr docs/* - rm -fr $(PYMODEL)/* + rm -fr $(PYDANTIC) include project.Makefile