Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Nix init, move PR testing to Nix #104

Nix init, move PR testing to Nix

Nix init, move PR testing to Nix #104

Workflow file for this run

name: PR Testing
on:
pull_request:
push:
branches:
- master
jobs:
handle-syncwith:
if: github.event_name == 'pull_request'
name: Call Reusable SyncWith Handler
uses: NilFoundation/ci-cd/.github/workflows/[email protected]
with:
ci-cd-ref: 'v1.1.2'
secrets: inherit
# test-linux:
# name: Linux Crypto3 Testing
# uses: ./.github/workflows/crypto3-testing-linux.yml
# needs:
# - handle-syncwith
# if: |
# always() && !cancelled() &&
# (needs.handle-syncwith.result == 'success' || needs.handle-syncwith.result == 'skipped')
# secrets: inherit
# with:
# submodules-refs: ${{ needs.handle-syncwith.outputs.prs-refs }}
# # TODO(martun): fix this sometime soon. All the targets must work on mac.
# test-mac:
# name: macOS Crypto3 Testing
# uses: ./.github/workflows/crypto3-testing-mac.yml
# needs:
# - handle-syncwith
# if: |
# always() && !cancelled() &&
# (needs.handle-syncwith.result == 'success' || needs.handle-syncwith.result == 'skipped')
# secrets: inherit
publish-result:
name: Publish Junit tests result
runs-on: ubuntu-22.04
needs:

Check failure on line 44 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / PR Testing

Invalid workflow file

The workflow is not valid. .github/workflows/pull-request.yml (Line: 44, Col: 11): Unexpected value ''
# - test-linux
# - test-mac
permissions:
checks: write
steps:
# - name: Download Artifacts
# uses: actions/download-artifact@v4
# with:
# pattern: test-results-*
# path: test-results
# merge-multiple: true
- name: Download Linux artifact
uses: actions/download-artifact@v3
with:
name: test-results-linux
- name: Download macOS artifact
uses: actions/download-artifact@v3
with:
name: test-results-mac
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/linux@v2
with:
files: "test-results-*/**/*.xml"
comment_mode: "off" # PRs from forks will not fail with insufficient permission