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 64b58aa commit 8ebccdc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/bats-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
submodules: true
- name: Check out code (with git)
if: ${{ !github.event.act }}
run: git clone --depth 1 --no-tags --recurse-submodules https://github.com/${{ github.repository }}.git /tmp/${{ github.sha }}
run: git clone --depth 1 --recurse-submodules https://github.com/${{ github.repository }}.git /tmp/${{ github.sha }}
- name: Run test
env:
AliAccessKeyId: ${{ secrets.ALIACCESSKEYID }}
Expand All @@ -94,9 +94,13 @@ jobs:
[[ -d /tmp/${{ github.sha }} ]] && cd /tmp/${{ github.sha }}
./test/bats/bin/bats test/test.bats.sh
test-on-ubuntu:
runs-on: ubuntu-18.04 # Test on old version of bash curl openssl
test-on-ubuntu-20_04:
runs-on: ubuntu-20.04
steps:
- name: Update package
run: apt update -y && apt upgrade -y
- name: Install dependencies
run: apt install -y bash curl git openssl
- name: Bash version
run: bash --version
- name: CURL version
Expand Down

0 comments on commit 8ebccdc

Please sign in to comment.