Skip to content

Commit dd47616

Browse files
Add workflow call to tests workflow
1 parent 07f81bc commit dd47616

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ on:
1111
pull_request:
1212
branches:
1313
- '*'
14+
15+
workflow_call:
16+
inputs:
17+
pip_git:
18+
description: "Whether or not to install tardis using git"
19+
required: false
20+
type: boolean
21+
default: false
22+
1423
schedule:
1524
- cron: '0 0 * * 0' # run at midnight every Sunday
1625

@@ -35,7 +44,6 @@ env:
3544

3645
jobs:
3746
build:
38-
if: github.repository_owner == 'tardis-sn'
3947
strategy:
4048
matrix:
4149
pip: [true, false]
@@ -109,4 +117,4 @@ jobs:
109117
run: pytest carsus ${{ env.PYTEST_FLAGS }}
110118

111119
- name: Upload to Codecov
112-
run: bash <(curl -s https://codecov.io/bash)
120+
run: bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)