v4.18.4-dev.0 #91
Workflow file for this run
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: Docker build, tests | |
on: [push] | |
env: | |
TEST_TAG: hltcoe/concrete-js | |
jobs: | |
build-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build | |
uses: docker/build-push-action@v4 | |
with: | |
load: true | |
tags: ${{ env.TEST_TAG }} | |
- name: Run unit tests | |
run: docker run --rm ${{ env.TEST_TAG }} npm test | |
- name: Run integration tests | |
run: docker run --rm ${{ env.TEST_TAG }} npm run integration_test | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master |