Skip to content

Merge pull request #176 from GordonSmith/trunk #451

Merge pull request #176 from GordonSmith/trunk

Merge pull request #176 from GordonSmith/trunk #451

name: Test PR
on: ["push", "pull_request"]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
scope: "@hpcc-js"
- run: npm ci
- run: npm run lint
- run: sudo apt-get update
- run: sudo apt-get install -y build-essential
- run: sudo apt-get install -y git cmake wget zip
- run: sudo apt-get install -y gcc-multilib g++-multilib pkg-config autoconf bison libtool flex
- run: sudo apt-get install -y python3 python3-pip
- run: npm run install-build-deps
- run: npm run build;
- run: npm run test;
env:
CI: true
- run: npm run coverage
- run: npm run coverage-report
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}