Skip to content

Commit

Permalink
ci: fix regression tests (#1360)
Browse files Browse the repository at this point in the history
test: fix regression tests

cargo-cliipy and unit-test have been run in every commit.
  • Loading branch information
Flouse authored Aug 25, 2023
1 parent 4fe0ef2 commit fd220ad
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/regression_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,8 @@ on:
workflow_dispatch:
schedule:
- cron: "0 16 * * *"
jobs:
invoke-cargo-cliipy:
runs-on: ubuntu-latest
steps:
- name: Invoke Cargo Clippy test
id: invoke-cargo-cliipy
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: Cargo Clippy
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'


jobs:
invoke-fmt-test:
runs-on: ubuntu-latest
steps:
Expand All @@ -39,17 +28,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'

invoke-unit-test:
runs-on: ubuntu-latest
steps:
- name: Invoke Unit Tests test
id: invoke-unit-test
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: Unit Tests
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'

invoke-v3-core-test:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -136,7 +114,7 @@ jobs:

output-result:
runs-on: ubuntu-latest
needs: [invoke-cargo-cliipy, invoke-fmt-test,invoke-E2E-test,invoke-unit-test,invoke-v3-core-test,invoke-web3-compatible-test,invoke-openzeppelin-test-1-5-and-12-15-test,invoke-OCT-6-10-test,invoke-OCT-11-test,invoke-OCT-16-19-test,invoke-chaos-test]
needs: [invoke-fmt-test,invoke-E2E-test,invoke-v3-core-test,invoke-web3-compatible-test,invoke-openzeppelin-test-1-5-and-12-15-test,invoke-OCT-6-10-test,invoke-OCT-11-test,invoke-OCT-16-19-test,invoke-chaos-test]
if: always()
steps:
- name: send message
Expand Down

0 comments on commit fd220ad

Please sign in to comment.