Skip to content

Commit

Permalink
Rebuild artifacts and test before publishing to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
pkalita-lbl committed Jul 11, 2024
1 parent 31e25e7 commit e5eebb4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pypi-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -219,6 +219,6 @@ clean:
rm -rf $(DEST)
rm -rf tmp
rm -fr docs/*
rm -fr $(PYMODEL)/*
rm -fr $(PYDANTIC)

include project.Makefile

0 comments on commit e5eebb4

Please sign in to comment.