Skip to content

Commit 9d210f1

Browse files
authored
release.yaml updates for integration tests (#26)
* release.yaml updates for integration tests * removing created vs. published as it is double-firing
1 parent 1bcc450 commit 9d210f1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: .github/workflows/release.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Release to PyPi
22

33
on:
44
release:
5+
# `created` does not fire on draft releases. `published` fires
6+
# when a draft release is published. having both reduces footguns.
57
types: [created]
68

79
jobs:
@@ -15,6 +17,15 @@ jobs:
1517
uses: actions/setup-python@v1
1618
with:
1719
python-version: '3.x'
20+
#
21+
- name: Install Python Dependencies
22+
run: python setup.py install
23+
- name: Run Integration Tests
24+
env:
25+
MUX_TOKEN_ID: ${{ secrets.MUX_TOKEN_ID }}
26+
MUX_TOKEN_SECRET: ${{ secrets.MUX_TOKEN_SECRET }}
27+
run: bash test.sh
28+
#
1829
- name: Install packaging dependencies
1930
run: pip install --user --upgrade setuptools wheel twine
2031
- name: Build Package

0 commit comments

Comments
 (0)