Skip to content

Commit

Permalink
Add workflow call to tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KasukabeDefenceForce committed Jan 6, 2025
1 parent 07f81bc commit dd47616
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ on:
pull_request:
branches:
- '*'

workflow_call:
inputs:
pip_git:
description: "Whether or not to install tardis using git"
required: false
type: boolean
default: false

schedule:
- cron: '0 0 * * 0' # run at midnight every Sunday

Expand All @@ -35,7 +44,6 @@ env:

jobs:
build:
if: github.repository_owner == 'tardis-sn'
strategy:
matrix:
pip: [true, false]
Expand Down Expand Up @@ -109,4 +117,4 @@ jobs:
run: pytest carsus ${{ env.PYTEST_FLAGS }}

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

0 comments on commit dd47616

Please sign in to comment.