Skip to content

Fix repo path resolution in status service and shellcheck warnings #13

Fix repo path resolution in status service and shellcheck warnings

Fix repo path resolution in status service and shellcheck warnings #13

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
python-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: scripts/engine/py
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install pytest
run: pip install pytest
- name: Run tests
run: python -m pytest -v --tb=short
shell-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
run: sudo apt-get update && sudo apt-get install -y shellcheck
- name: Run shellcheck on core scripts
run: |
shellcheck -x scripts/kosaio
shellcheck -x scripts/common/*.sh
shellcheck -x scripts/engine/driver_manager.sh
shellcheck -x scripts/controllers/*.sh