Skip to content

macOS support for rSharp #3

macOS support for rSharp

macOS support for rSharp #3

Workflow file for this run

name: PR-Workflow
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
# Detect changes done in C# code base. If no change were done, skim "build-Csharp-binaries" workflow.
changes:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
Csharp: ${{ steps.filter.outputs.Csharp }}
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
base: ${{ github.ref }}
filters: |
Csharp:
- 'shared/**'
build-Csharp-binaries:
needs: changes
if: ${{ needs.changes.outputs.Csharp == 'true' && github.event_name == 'pull_request'}}
uses: ./.github/workflows/build-c#.yaml
R-CMD-Check:
if: ${{ !cancelled() }}
needs: build-Csharp-binaries
uses: ./.github/workflows/R-CMD-check.yaml
test-coverage:
if: ${{ !cancelled() }}
needs: [R-CMD-Check]
uses: ./.github/workflows/test-coverage.yaml
pkgdown:
if: ${{ !cancelled() }}
needs: [R-CMD-Check]
uses: ./.github/workflows/pkgdown.yaml