feat: add tests for linux (#39)
* feat: add dummy test for linux * feat: add multiple test execution * fix: update exec of multiple scripts for linux * fix: execute tests with code from the branch * fix: fail test exec if at least one test fail * fix: typo * wip: test if symlink work * feat: add new test for check setup of light256 theme * feat: when theme enabled and not set it default to dark256 * feat: increase tests coverage of checking themes activation * refactor: rename tests_linux job * chore: add changelog entry
This commit is contained in:
parent
6595a51154
commit
f01574b318
12 changed files with 436 additions and 25 deletions
34
.github/workflows/dev-push-check.yml
vendored
Normal file
34
.github/workflows/dev-push-check.yml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
name: dev-push-check
|
||||
run-name: ${{ github.actor }} pushed new code 💻
|
||||
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 repository
|
||||
uses: actions/checkout@main
|
||||
- name: Lint files against shfmt
|
||||
run: make lint_shfmt
|
||||
tests_linux:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- lint_shfmt
|
||||
- lint_shellcheck
|
||||
steps:
|
||||
- name: Install required software
|
||||
run: sudo apt install -y tmux git
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@main
|
||||
- name: Execute all linux tests and check results
|
||||
run: ./tests/run_all_linux_tests.sh
|
22
.github/workflows/github-actions.yml
vendored
22
.github/workflows/github-actions.yml
vendored
|
@ -1,22 +0,0 @@
|
|||
name: GitHub Actions
|
||||
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
|
||||
on: [push]
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue