feat: add multiple test execution

This commit is contained in:
Maciej Sypien 2024-09-21 09:45:50 +02:00
parent 937fa5f529
commit 4944b6ecc0
No known key found for this signature in database
GPG key ID: 10BC01EDA6827DC8
5 changed files with 71 additions and 31 deletions

34
.github/workflows/dev-push-check.yml vendored Normal file
View file

@ -0,0 +1,34 @@
name: dev-push-check
run-name: ${{ github.actor }} pushed new code to {{ github.ref }} 💻
on: [push] #, pull_request]
jobs:
lint_shellcheck:
runs-on: ubuntu-latest
steps:
- name: install shellcheck
run: sudo apt-get install -y shellcheck
- name: checkout repo
uses: actions/checkout@main
- name: lint files against shellcheck
run: make lint_shellcheck
lint_shfmt:
runs-on: ubuntu-latest
steps:
- name: install shfmt
run: sudo apt-get install -y shfmt
- name: checkout repo
uses: actions/checkout@main
- name: lint files against shfmt
run: make lint_shfmt
test_setup_linux:
runs-on: ubuntu-latest
needs:
- lint_shfmt
- lint_shellcheck
steps:
- name: install soft
run: sudo apt install -y tmux git
- name: checkout repo
uses: actions/checkout@main
- name: dummy test setup
run: ./tests/run_all_linux_tests.sh