Skip to content

add code climate github action #574

add code climate github action

add code climate github action #574

Workflow file for this run

name: Build and test
on:
push:
paths:
- "template/Makefile"
- "package.json"
- "package-lock.json"
- "Makefile"
- "scripts/*"
- "tests/*"
- "bin/*"
- "lib/*"
- "src/*"
- ".github/workflows/build.yaml"
branches:
- master
- devel
pull_request:
paths:
- "template/Makefile"
- "Makefile"
- "scripts/*"
- "tests/*"
- "bin/*"
- "lib/*"
- "src/*"
- ".github/workflows/build.yaml"
branches:
- master
- devel
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Update deps
run: sudo apt-get update
- name: Install ImageMagick
run: sudo apt-get -y install graphicsmagick
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: make
- run: make lint
- run: make test
- run: make coverage
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Code Climate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
with:
debug: true

Check failure on line 61 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / Build and test

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 61, Col: 13): A mapping was not expected