Reviewdog #147
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: Unit tests | |
on: | |
[push, pull_request] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 3 | |
- name: Update the system | |
run: | | |
sudo apt update -y | |
- name: Install dependencies | |
run: | | |
sudo apt install -y shunit2 bc sqlite3 bsdmainutils libxml-xpath-perl | |
- name: Prepare for tests | |
run: | | |
./run_tests.sh prepare | |
git config --global user.email "[email protected]" | |
git config --global user.name "Kworkflow" | |
- name: Unit tests | |
run: | | |
./run_tests.sh --unit |