Skip to content

Commit

Permalink
Cut
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Sep 1, 2024
1 parent e942be7 commit d66dcea
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
test-build:
name: Build Python package
runs-on: ubuntu-latest
needs: [test-python, test-conda]
needs: [test-python, test-conda, lint-python, mypy-python]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -123,28 +123,28 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pipenv'

- name: Install pipenv
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python

- id: install-python-dependencies
name: Install Python dependencies
run: pipenv install --dev --python `which python`
run: pip install requests click python-dateutil pandas twine setuptools-scm
shell: bash

- id: create-db
name: Create database
run: python -c 'import cpi'
shell: bash

- id: build
name: Build release
run: |
pipenv run python -c 'import cpi'
pipenv run python setup.py sdist
pipenv run python setup.py bdist_wheel
python setup.py sdist
python setup.py bdist_wheel
ls -l dist
shell: bash

- id: check
name: Check release
run: pipenv run twine check dist/*
run: twine check dist/*
shell: bash

- id: save
Expand Down

0 comments on commit d66dcea

Please sign in to comment.