From 36133da3f079440dfe0e24c0bb8ba837b7343706 Mon Sep 17 00:00:00 2001 From: TroyHernandez Date: Sun, 26 Jul 2026 21:32:03 -0500 Subject: [PATCH] Add r-ci GitHub Actions workflow mx.client had no CI, so nothing checked the package on push or pull request. Runs on macOS and Ubuntu via r-ci with the RAPT backend. Every runtime dependency is on CRAN, so no manual install step is needed. _R_CHECK_FORCE_SUGGESTS_ is false because mx.crypto is not on CRAN; the two test files that need it already guard on requireNamespace() and skip cleanly without it. .Rbuildignore already excludes .github, so this adds no check NOTE. --- .github/workflows/ci.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..8bb75b3 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,31 @@ +name: ci + +on: + pull_request: + +env: + _R_CHECK_FORCE_SUGGESTS_: "false" + +jobs: + ci: + strategy: + matrix: + include: + - {os: macos-latest} + - {os: ubuntu-latest} + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v6 + + - name: Setup + uses: eddelbuettel/github-actions/r-ci@master + with: + backend: RAPT + + - name: Dependencies + run: ./run.sh install_deps + + - name: Test + run: ./run.sh run_tests