new file: projects/github.com/XCTestHTMLReport/XCTestHTMLReport/package.yml

This commit is contained in:
Andrii Riabchenko 2024-02-04 19:50:30 +02:00 committed by Jacob Heider
parent f935873660
commit 4ec877cac6

View file

@ -0,0 +1,27 @@
distributable:
url: git+https://github.com/XCTestHTMLReport/XCTestHTMLReport.git
ref: ${{version.tag}}
versions:
github: XCTestHTMLReport/XCTestHTMLReport
platforms:
- darwin
build:
- swift build --disable-sandbox -c release
- install -D .build/release/xchtmlreport {{prefix}}/bin/xchtmlreport
provides:
- bin/xchtmlreport
test:
dependencies:
curl.se: '*'
script:
- xchtmlreport --version | grep {{version}}
- curl -L "${TESTDATA}" | tar -xz
- xchtmlreport SanityResults.xcresult
- cat index.html | grep "Xcode Testing HTML Report"
env:
TESTDATA: https://pub-0b56a3a43f5b4adc91c743afc384fe1a.r2.dev/SanityResults.xcresult.tar.gz