diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d8656c6..b1002e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,25 +4,19 @@ on: push: { branches: master } jobs: - test: - name: Approvals on Ubuntu + ubuntu_approval: + name: Approval on Ubuntu runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Install fzf run: sudo apt install -y fzf - - name: Install Shellkin - run: curl -Ls get.dannyb.co/shellkin/setup | bash - - name: Run shellcheck tests - run: shellcheck fuzzycd setup - name: Run approval tests run: test/approve - - name: Run acceptance tests - run: shellkin - test_mac: - name: Approvals on macOS + macos_approval: + name: Approval on macOS runs-on: macos-latest steps: - name: Checkout code @@ -32,6 +26,34 @@ jobs: - name: Run approval tests run: test/approve + ubuntu_acceptance: + name: Acceptance on Ubuntu + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Install fzf + run: sudo apt install -y fzf + - name: Install Shellkin + run: curl -Ls get.dannyb.co/shellkin/setup | bash + - name: Run acceptance tests + run: shellkin + + macos_acceptance: + name: Acceptance on macOS + runs-on: macos-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Install fzf + run: brew install fzf + - name: Upgrade the outdated bash + run: brew install bash + - name: Install Shellkin + run: curl -Ls get.dannyb.co/shellkin/setup | bash + - name: Run acceptance tests + run: shellkin + ubuntu_setup: name: Setup on Ubuntu runs-on: ubuntu-latest