Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 72bfdf90

Přidáno uživatelem Milan Hotovec před téměř 4 roky(ů)

coverage test
@testWindows

Zobrazit rozdíly:

.gitlab-ci.yml
73 73
      - $CI_COMMIT_MESSAGE =~ /merge branch/i                   #auto trigger for merge requests from command
74 74
      - $CI_COMMIT_MESSAGE =~ /Merge remote-tracking branch/i   #auto trigger for remote merge requests from command
75 75
  script:
76
    - 'dotnet test'    #Run tests using console mode of MSTest (Unit)
76
    - 'rm -r .\TestResults\ -ErrorAction Ignore'
77
    - 'dotnet test --collect:"XPlat Code Coverage" -r "./TestResults/"'    #Run tests using console mode of MSTest (Unit)
78
  artifacts:
79
    name: ${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHA}
80
    expire_in: 2 days
81
    reports:
82
      cobertura: TestResults/*/coverage.cobertura.xml
77 83
#Job for testing linux
78 84
test_job_linux:
79 85
  stage: test

Také k dispozici: Unified diff