Skip to content

Commit 6740dd0

Browse files
committed
Remove the test workflow and re-use the release workflow.
1 parent 12e0ca7 commit 6740dd0

File tree

2 files changed

+6
-41
lines changed

2 files changed

+6
-41
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ on:
22
release:
33
types:
44
- published
5+
push:
6+
branches:
7+
- main
8+
pull_request:
59

610
name: Create release
711

@@ -83,6 +87,7 @@ jobs:
8387
needs: [build_wheels, sdist]
8488
name: Uploading built packages to pypi for release.
8589
runs-on: ubuntu-latest
90+
if: github.event_name == 'release'
8691
steps:
8792
- uses: actions/[email protected]
8893
with:
@@ -98,6 +103,7 @@ jobs:
98103
name: Building & uploading documentation.
99104
needs: [upload_all]
100105
runs-on: ubuntu-latest
106+
if: github.event_name == 'release'
101107
steps:
102108
- uses: actions/checkout@v3
103109

.github/workflows/test.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)