From 4ec877cac6def72c960de29e8ef20fa62e87e43c Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sun, 4 Feb 2024 19:50:30 +0200 Subject: [PATCH] new file: projects/github.com/XCTestHTMLReport/XCTestHTMLReport/package.yml --- .../XCTestHTMLReport/package.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 projects/github.com/XCTestHTMLReport/XCTestHTMLReport/package.yml diff --git a/projects/github.com/XCTestHTMLReport/XCTestHTMLReport/package.yml b/projects/github.com/XCTestHTMLReport/XCTestHTMLReport/package.yml new file mode 100644 index 00000000..99d81728 --- /dev/null +++ b/projects/github.com/XCTestHTMLReport/XCTestHTMLReport/package.yml @@ -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 \ No newline at end of file