Skip to content

Commit

Permalink
Update bats-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hill-98 authored Dec 4, 2023
1 parent e101aca commit 0aad80c
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/bats-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ jobs:
test-on-alpine:
runs-on: ubuntu-latest
container:
image: alpine:latest
image: alpine:latest # Test on musl libc
steps:
- name: Install dependencies
run: apk add bash curl git openssl
- name: Bash version
run: bash --version
- name: CURL version
run: curl --version
- name: OpenSSL version
run: openssl version
- name: Check out code
uses: actions/checkout@v3
with:
Expand All @@ -30,12 +36,18 @@ jobs:
run: ./test/bats/bin/bats test/test.bats.sh

test-on-archlinux:
runs-on: ubuntu-latest # Test on latest version bash curl openssl
runs-on: ubuntu-latest
container:
image: archlinux:latest
image: archlinux:latest # Test on latest version of bash curl openssl
steps:
- name: Install dependencies
run: yes | pacman -Syu bash curl git openssl
- name: Bash version
run: bash --version
- name: CURL version
run: curl --version
- name: OpenSSL version
run: openssl version
- name: Check out code
uses: actions/checkout@v3
with:
Expand All @@ -60,6 +72,12 @@ jobs:
opkg install bash curl openssl-util
# Bats dependencies
opkg install coreutils-nl
- name: Bash version
run: bash --version
- name: CURL version
run: curl --version
- name: OpenSSL version
run: openssl version
- name: Check out code
if: ${{ github.event.act }}
uses: actions/checkout@v3
Expand All @@ -77,8 +95,14 @@ jobs:
./test/bats/bin/bats test/test.bats.sh
test-on-ubuntu:
runs-on: ubuntu-18.04 # Test on old version bash curl openssl
runs-on: ubuntu-18.04 # Test on old version of bash curl openssl
steps:
- name: Bash version
run: bash --version
- name: CURL version
run: curl --version
- name: OpenSSL version
run: openssl version
- name: Check out code
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 0aad80c

Please sign in to comment.