Testing
This commit is contained in:
10
.github/workflows/unit-test.yml
vendored
10
.github/workflows/unit-test.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
on-success:
|
||||
Unit-Test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -28,10 +28,4 @@ jobs:
|
||||
|
||||
# 6. Run unit tests
|
||||
- name: Run pytest
|
||||
run: pytest
|
||||
|
||||
on-failure:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||
steps:
|
||||
- run: echo 'The triggering workflow failed'
|
||||
run: pytest
|
||||
Reference in New Issue
Block a user