Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test-alpine CI job #78

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,27 @@ jobs:
with:
version: "2023.1"
install-go: false

test-alpine:
runs-on: ubuntu-latest
steps:
- name: Setup Alpine
uses: jirutka/setup-alpine@v1
with:
branch: latest-stable

- name: Setup Alpine dependencies
run: |
cat /etc/alpine-release
apk add git go make bash binutils-gold
shell: alpine.sh --root {0}

- name: Checkout
uses: actions/checkout@v2

- name: Run tests against bash on alpine
run: |
git config --global --add safe.directory /home/runner/work/shell-tester/shell-tester
# repo is owned by user and we intend to execute as root
make test
shell: alpine.sh --root {0}
Loading