Skip to content

chore/DOCS-003

chore/DOCS-003 #10

Workflow file for this run

name: Test Aliases
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install GitHub CLI
run: |
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh
- name: Make scripts executable
run: |
chmod +x scripts/*.sh
chmod +x tests/integration/*.sh
chmod +x tests/utils/*.sh
chmod +x aliases/*/*.sh
- name: Install aliases
run: ./scripts/install-aliases.sh
- name: Run tests
run: |
for test_file in tests/integration/*.test.sh; do
bash "$test_file"
done