11version : 2.1
2- # orbs:
3- # codecov: codecov/codecov@5.4.3
2+ orbs :
3+ codecov : codecov/codecov@5.4.3
44jobs :
55 build :
66 working_directory : ~/exomiser
@@ -21,26 +21,29 @@ jobs:
2121 paths :
2222 - ~/.m2
2323 key : exomiser-{{ arch }}-{{ checksum "pom.xml" }}
24+ # - run:
25+ # name: Analyze on SonarQube Cloud
26+ # command: ./mvnw org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=org.monarchinitiative.exomiser:exomiser
27+ # #Save junit xml
28+ # - run: mkdir -p $CIRCLE_TEST_REPORTS/junit/
29+ # - run: find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/ \;
30+ # #Save jars
31+ # - run: mkdir -p $CIRCLE_ARTIFACTS/
32+ # - run: find . -type f -regex ".*/target/exomiser.*jar" -exec cp {} $CIRCLE_ARTIFACTS/ \;
33+ # - run: find . -type f -regex ".*/target/exomiser.*zip" -exec cp {} $CIRCLE_ARTIFACTS/ \;
34+ # # Save test results
35+ # - store_test_results:
36+ # path: /tmp/circleci-test-results
37+ # # Save artifacts
38+ # - store_artifacts:
39+ # path: /tmp/circleci-artifacts
40+ # - store_artifacts:
41+ # path: /tmp/circleci-test-results
42+ # - run: bash <(curl -s https://codecov.io/bash)
2443 - run :
25- name : Analyze on SonarQube Cloud
26- command : ./mvnw org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=org.monarchinitiative.exomiser:exomiser
27- # Save junit xml
28- - run : mkdir -p $CIRCLE_TEST_REPORTS/junit/
29- - run : find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/ \;
30- # Save jars
31- - run : mkdir -p $CIRCLE_ARTIFACTS/
32- - run : find . -type f -regex ".*/target/exomiser.*jar" -exec cp {} $CIRCLE_ARTIFACTS/ \;
33- - run : find . -type f -regex ".*/target/exomiser.*zip" -exec cp {} $CIRCLE_ARTIFACTS/ \;
34- # Save test results
35- - store_test_results :
36- path : /tmp/circleci-test-results
37- # Save artifacts
38- - store_artifacts :
39- path : /tmp/circleci-artifacts
40- - store_artifacts :
41- path : /tmp/circleci-test-results
42- - run : bash <(curl -s https://codecov.io/bash)
43- # - codecov/upload
44+ name : Run tests and collect coverage
45+ command : mvn -B test
46+ - codecov/upload
4447workflows :
4548 version : 2
4649 build :
0 commit comments