Skip to content
Snippets Groups Projects
Commit 4a519f1f authored by Emma Dahlin's avatar Emma Dahlin
Browse files

Merge branch 'fix_tests' into 'master'

Fix tests

See merge request !2
parents 76068900 68125121
No related branches found
No related tags found
1 merge request!2Fix tests
Pipeline #77157 passed
image: alash325/javaant:latest
stages:
- build
- test
- deploy
build:
stage: build
script:
- ant build
script:
- ant build
test:
stage: test
script:
- ant -lib test/lib/junit.jar -Dtest=AllTests testall
artifacts:
paths:
- ./build/report/
stage: test
script:
- ant -lib test/lib/junit.jar -Dtest=AllTests testall
artifacts:
paths:
- ./build/report/
reports:
junit:
- ./build/report/xml/TEST-*.*
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
stage: deploy
dependencies:
- test
script:
- mv ./build/report/ public/
artifacts:
paths:
- public
......@@ -32,7 +32,7 @@ public class AllTests {
suite.addTest(net.sf.freecol.common.option.AllTests.suite());
suite.addTest(net.sf.freecol.common.model.AllTests.suite());
suite.addTest(net.sf.freecol.common.utils.AllTests.suite());
suite.addTest(net.sf.freecol.common.sound.AllTests.suite());
//suite.addTest(net.sf.freecol.common.sound.AllTests.suite());
//$JUnit-END$
return suite;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment