From dbb7b0b3eae2feb1c2bc3a76be72df7981621ef5 Mon Sep 17 00:00:00 2001 From: Allain Magyar Date: Tue, 12 Mar 2024 16:46:12 -0300 Subject: [PATCH] debug --- .github/workflows/build.yml | 81 ++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 41 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1658e66..1b1e1e43 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,52 +21,51 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - - name: Install SSH Key - uses: shimataro/ssh-key-action@v2.3.0 - with: - key: ${{ secrets.SSH_PRIVATE_KEY }} - known_hosts: github.com + # - name: Install SSH Key + # uses: shimataro/ssh-key-action@v2.3.0 + # with: + # key: ${{ secrets.SSH_PRIVATE_KEY }} + # known_hosts: github.com - - name: Adding Known Hosts - run: ssh-keyscan -H github.com >> ~/.ssh/known_hosts + # - name: Adding Known Hosts + # run: ssh-keyscan -H github.com >> ~/.ssh/known_hosts - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: '15.2' + - name: Printenv + run: printenv - - name: Build and test - run: | - swift build + # - name: Build and test + # run: | + # swift build - - name: Generate momd - run: | - /Applications/Xcode.app/Contents/Developer/usr/bin/momc \ - ./AtalaPrismSDK/Pluto/Sources/Resources/PrismPluto.xcdatamodeld \ - .build/debug/AtalaPRISMSDK_Pluto.bundle/PrismPluto.momd - swift test --enable-code-coverage + # - name: Generate momd + # run: | + # /Applications/Xcode.app/Contents/Developer/usr/bin/momc \ + # ./AtalaPrismSDK/Pluto/Sources/Resources/PrismPluto.xcdatamodeld \ + # .build/debug/AtalaPRISMSDK_Pluto.bundle/PrismPluto.momd + # swift test --enable-code-coverage - - name: Generate lcov - run: | - xcrun llvm-cov export \ - -format="lcov" \ - .build/debug/AtalaPRISMSDKPackageTests.xctest/Contents/MacOS/AtalaPRISMSDKPackageTests \ - -instr-profile .build/debug/codecov/default.profdata \ - --ignore-filename-regex='.build/.*' \ - --ignore-filename-regex='Tests/.*' \ - --ignore-filename-regex='Core/.*' > lcov.info + # - name: Generate lcov + # run: | + # xcrun llvm-cov export \ + # -format="lcov" \ + # .build/debug/AtalaPRISMSDKPackageTests.xctest/Contents/MacOS/AtalaPRISMSDKPackageTests \ + # -instr-profile .build/debug/codecov/default.profdata \ + # --ignore-filename-regex='.build/.*' \ + # --ignore-filename-regex='Tests/.*' \ + # --ignore-filename-regex='Core/.*' > lcov.info - - name: Build coverage report - run: genhtml lcov.info -o coverage_html -q + # - name: Build coverage report + # run: genhtml lcov.info -o coverage_html -q - - name: Publish to coveralls - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: coverallsapp/github-action@v2 - with: - file: "lcov.info" + # - name: Publish to coveralls + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # uses: coverallsapp/github-action@v2 + # with: + # file: "lcov.info" - - name: Publish Code Coverage Report - uses: actions/upload-artifact@v4 - with: - name: swift-coverage - path: "coverage_html" + # - name: Publish Code Coverage Report + # uses: actions/upload-artifact@v4 + # with: + # name: swift-coverage + # path: "coverage_html"