ALS-7264: Fix accept header related errors (#17) #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: R Run Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: rocker/r-ver:4.2.1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update system | |
run: apt-get update -qq && apt-get -y install libxml2-utils | |
- name: Install dependencies | |
run: | | |
R -e 'install.packages(c("devtools","testthat","purrr","jsonlite","stringr","httr","urltools","tidyverse"))' | |
- name: Run tests | |
run: | | |
R -e 'options(testthat.output_file = "test-out.xml"); testthat::test_dir("tests/testthat", reporter = "junit")' | |
- name: Upload test results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-results | |
path: tests/testthat/test-out.xml |