Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
Updates release workflow to check release by installing the specific
version.
  • Loading branch information
maread99 committed Jul 5, 2022
1 parent 0fe7fab commit 93d7fcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/release-drafter-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ categories:
- title: 'Bug Fixes'
labels:
- 'bug'
- title: 'Calendar Updates'
labels:
- 'calendar update'
- title: 'Deprecation'
labels:
- 'deprecation'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:

- name: Install from test and test running
run: |
echo "Will wait 20s" && sleep 20s
pip install --extra-index-url https://test.pypi.org/simple exchange_calendars
echo "Will wait 10s" && sleep 10s
pip install --extra-index-url https://test.pypi.org/simple exchange_calendars==${{ github.ref_name }}
python -c 'import exchange_calendars;print(exchange_calendars.__version__)'
pip uninstall -y exchange_calendars
Expand All @@ -45,6 +45,6 @@ jobs:

- name: Install and test running
run: |
echo "Will wait 20s" && sleep 20s
pip install --index-url https://pypi.org/simple exchange_calendars
echo "Will wait 10s" && sleep 10s
pip install --index-url https://pypi.org/simple exchange_calendars==${{ github.ref_name }}
python -c 'import exchange_calendars;print(exchange_calendars.__version__)'

0 comments on commit 93d7fcc

Please sign in to comment.