Testing
This commit is contained in:
8
.github/workflows/linters.yml
vendored
8
.github/workflows/linters.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
branches:
|
||||
- Development
|
||||
jobs:
|
||||
on-success:
|
||||
check:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -27,9 +27,3 @@ jobs:
|
||||
|
||||
- name: Run pylint
|
||||
run: pylint frontend services utils
|
||||
|
||||
on-failure:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo 'The Review workflow failed'
|
||||
|
||||
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