remove duplicated await #563
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: Build and test | |
on: | |
push: | |
paths: | |
- "template/Makefile" | |
- "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 }} |