Skip to content

Merge pull request #12 from digitalxs/claude/create-dxsbash-website-3… #407

Merge pull request #12 from digitalxs/claude/create-dxsbash-website-3…

Merge pull request #12 from digitalxs/claude/create-dxsbash-website-3… #407

Workflow file for this run

name: Shell Testing
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, ubuntu-22.04, debian-latest]
shell: [bash, zsh, fish]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Install test dependencies
run: |
sudo apt-get update
sudo apt-get install -y shellcheck zsh fish
- name: Test Bash scripts
if: matrix.shell == 'bash'
run: |
shellcheck -f gcc *.sh .bashrc || true
bash -n .bashrc
- name: Test Zsh scripts
if: matrix.shell == 'zsh'
run: |
zsh -n .zshrc || true
- name: Test Fish scripts
if: matrix.shell == 'fish'
run: |
fish -n config.fish || true
- name: Test installation (dry run)
run: |
# Add installation test here
echo "Installation test placeholder"