Skip to content

Commit

Permalink
Bring back unit test workflow via workflow_call
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed May 29, 2024
1 parent f334195 commit b8bed60
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/run-unit-tests/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Run Unit Tests

inputs:
python-version:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Tests

on:
workflow_call:
inputs:
python-version:
required: true
type: string
os:
required: true
type: string

jobs:
tests:
runs-on: ${{ inputs.os }}
steps:
- name: Test Python ${{ inputs.python-version }}
uses: ./.github/actions/run-unit-tests
with:
python-version: "3.9"
os: "ubuntu-latest"
is_pr: "false"

0 comments on commit b8bed60

Please sign in to comment.