Add CI workflows

This commit is contained in:
Timo Makinen 2023-04-08 09:32:10 +00:00
parent b7cd657dce
commit 03ae70d2a5

23
.gitea/workflows/test.yml Normal file
View file

@ -0,0 +1,23 @@
---
name: tests
# yamllint disable-line rule:truthy
on:
- push
jobs:
lint:
name: run linter
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install package dependencies
run: |
sudo apt-get install \
ansible-lint \
jsonlint \
shellcheck \
yamllint
ln -s /usr/bin/jsonlint-php /usr/local/bin/jsonlint
- name: Run linters
run: make -C ./tests