Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c442c2d authored by Jonathan Klee's avatar Jonathan Klee
Browse files

chore: execute tests on main branch also

so that gitlab has comparaison element for Jacoco
parent 061471da
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -42,6 +42,8 @@ test:
  rules:
  rules:
    - if: $CI_MERGE_REQUEST_ID
    - if: $CI_MERGE_REQUEST_ID
      when: always
      when: always
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
      when: always
  script:
  script:
    - ./gradlew test jacocoDebugReport -PtestAccountName="$testAccountName" -PtestAccountPwd="$testAccountPwd" -PtestServerUrl="$testServerUrl"
    - ./gradlew test jacocoDebugReport -PtestAccountName="$testAccountName" -PtestAccountPwd="$testAccountPwd" -PtestServerUrl="$testServerUrl"
  artifacts:
  artifacts: