Skip to content

Commit 7fb1faf

Browse files
committed
Adjusted workflows so Test runs on branch pushes and Publish runs on tag pushes.
1 parent feaf2f4 commit 7fb1faf

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- 'v*'
77

88
jobs:
9-
# test:
10-
# name: Tests
11-
# uses: ./.github/workflows/tests.yml
9+
test:
10+
name: Tests
11+
uses: ./.github/workflows/test.yml
1212

1313
build:
1414
name: Build distributions
15-
# needs: test
15+
needs: test
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v6

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Test
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches:
5+
- '**'
6+
pull_request:
7+
workflow_call:
38

49
jobs:
510
test:

0 commit comments

Comments
 (0)