Update .gitea/workflows/test.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
This commit is contained in:
@@ -1 +1,22 @@
|
||||
test
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
build-job:
|
||||
stage: build
|
||||
script:
|
||||
- echo "Compiling the code..."
|
||||
- mvn clean package
|
||||
- echo "Compile complete."
|
||||
artifacts:
|
||||
paths:
|
||||
- target
|
||||
|
||||
test-job:
|
||||
stage: test
|
||||
dependencies:
|
||||
- build-job
|
||||
script:
|
||||
- ls -al
|
||||
- echo "Running tests"
|
||||
- java -cp target/helloworld-1.1.jar com.coveros.demo.helloworld.HelloWorld
|
||||
Reference in New Issue
Block a user