del
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 11s
checks / Set up Java for Backend Tests and Build (push) Successful in 13s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 3s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 10s
checks / Set up Java for Backend Tests and Build (pull_request) Successful in 12s
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 11s
checks / Set up Java for Backend Tests and Build (push) Successful in 13s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 3s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 10s
checks / Set up Java for Backend Tests and Build (pull_request) Successful in 12s
This commit is contained in:
@ -81,20 +81,6 @@ jobs:
|
|||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
|
|
||||||
- name: Set frontend status
|
|
||||||
uses: actions/github-script@v7
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.ACCESS_TOKEN }}
|
|
||||||
script: |
|
|
||||||
github.repos.createCommitStatus({
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
sha: context.sha,
|
|
||||||
state: 'success',
|
|
||||||
context: 'CI Frontend',
|
|
||||||
description: 'Frontend unit tests passed'
|
|
||||||
})
|
|
||||||
|
|
||||||
backend-jobs:
|
backend-jobs:
|
||||||
name: Set up Java for Backend Tests and Build
|
name: Set up Java for Backend Tests and Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -167,19 +153,5 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
mvn clean test -Dspring.profiles.active=test
|
mvn clean test -Dspring.profiles.active=test
|
||||||
|
|
||||||
- name: Set backend status
|
|
||||||
uses: actions/github-script@v7
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.ACCESS_TOKEN }}
|
|
||||||
script: |
|
|
||||||
github.repos.createCommitStatus({
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
sha: context.sha,
|
|
||||||
state: 'success',
|
|
||||||
context: 'CI Backend',
|
|
||||||
description: 'Backend unit tests passed'
|
|
||||||
})
|
|
||||||
|
|
||||||
- name: Done
|
- name: Done
|
||||||
run: echo "Workflow successfully completed."
|
run: echo "Workflow successfully completed."
|
||||||
Reference in New Issue
Block a user