Updated the NEWS file, bumped the version. #502
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: Test JS bindings | |
jobs: | |
# Building the RDS files for the various RDS-reading utilities. | |
build_rds: | |
runs-on: ubuntu-latest | |
container: rocker/r-base:latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Build RDS files | |
run: | | |
cd tests/rds | |
R -f generate.R | |
- name: Upload RDS files | |
uses: actions/upload-artifact@v3 | |
with: | |
name: rds-files | |
path: tests/rds/*.rds | |
check: | |
runs-on: ubuntu-latest | |
needs: build_rds | |
container: ghcr.io/kanaverse/scran.js-docker/builder:master | |
defaults: | |
run: | |
working-directory: /scran.js | |
steps: | |
- name: Get to the right branch | |
run: | | |
git fetch --all | |
git checkout $GITHUB_SHA | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Update node build | |
run: bash build.sh main | |
- name: Update NPM packages | |
run: npm i --include=dev | |
- name: Download RDS files | |
uses: actions/download-artifact@v3 | |
with: | |
name: rds-files | |
path: /scran.js/tests/rds | |
- name: Run tests | |
run: | | |
export CHECK_RDS=1 | |
npm run test |