Skip to content

fix: resolve merge conflict #44

fix: resolve merge conflict

fix: resolve merge conflict #44

Workflow file for this run

on:
push:
pull_request:
name: test-report
jobs:
build-test:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
working-directory: "./tinytest2JUnit"
extra-packages: local::.
- run: |
library(tinytest2JUnit);tinytest2JUnit::writeJUnit(tinytest::run_test_dir(system.file("tinytest", package ="tinytest2JUnit")),
file = file.path(getwd(), "results.xml"))
shell: Rscript {0}
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: JUnit Tests # Name of the check run which will be created
path: results.xml # Path to test results
reporter: java-junit # Format of test results