add test to github action

This commit is contained in:
Fco. Javier Delgado del Hoyo 2021-03-06 12:53:45 +01:00
parent 057b0e823e
commit 7c8bb00622

View file

@ -1,6 +1,7 @@
name: build docker image name: build docker image
on: on:
workflow_dispatch:
push: push:
branches: branches:
- "**" - "**"
@ -13,6 +14,8 @@ jobs:
steps: steps:
- name: Checkout the code - name: Checkout the code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Test
run: sudo apt-get -qq update && sudo apt-get install -y devscripts shellcheck && make test
- name: Install buildx - name: Install buildx
id: buildx id: buildx
uses: crazy-max/ghaction-docker-buildx@v1 uses: crazy-max/ghaction-docker-buildx@v1