Skip to content

Build with boost 1.86.0; (and don't patch Coot any more). #321

Build with boost 1.86.0; (and don't patch Coot any more).

Build with boost 1.86.0; (and don't patch Coot any more). #321

Workflow file for this run

name: Run tests
on:
push:
pull_request:
jobs:
run_tests:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install node.js v16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
working-directory: /home/runner/work/Moorhen/
run: |
sudo apt-get update -y
sudo apt-get install -y npm
- name: Restore cache node16 modules
id: cache-node16-modules-load
uses: actions/cache@v4
with:
path: /home/runner/work/Moorhen/Moorhen/baby-gru/node_modules
key: node16-modules-cache
- name: Install npm modules
working-directory: /home/runner/work/Moorhen/Moorhen/baby-gru
if: steps.cache-node16-modules-load.outputs.cache-hit != 'true'
run: npm install
- name: Save node modules cache
id: cache-node16-modules-save
if: steps.cache-node16-modules-load.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path: /home/runner/work/Moorhen/Moorhen/baby-gru/node_modules
key: node16-modules-cache
- name: Test typescript transpilation
working-directory: /home/runner/work/Moorhen/Moorhen/baby-gru
run: |
npm run create-version
npm run transpile-protobuf
npx graphql-codegen
npx tsc
- name: Run react tests
working-directory: /home/runner/work/Moorhen/Moorhen/baby-gru
run: npm run test-react