[ LOPS-1538 ] Cache the terminus directory and only add token if not already logged in #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Terminus Github Action Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test_terminus: | |
runs-on: ubuntu-latest | |
name: Terminus Setup | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Terminus | |
uses: ./ | |
- name: Expect terminus command to be available | |
run: terminus -V | |
- name: Expect terminus to print art | |
run: terminus art | |
test_terminus_login: | |
runs-on: ubuntu-latest | |
name: Terminus Login | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Terminus | |
uses: ./ | |
test_terminus_version: | |
name: Terminus Version | |
uses: ./.github/workflows/test-terminus-version.yml | |
test_terminus_version_304: | |
name: Terminus Version | |
uses: ./.github/workflows/test-terminus-version.yml | |
with: | |
terminus-version: 3.0.4 | |
test_terminus_version_266: | |
name: Terminus Version | |
uses: ./.github/workflows/test-terminus-version.yml | |
with: | |
php-version: 7.4 | |
terminus-version: 2.6.6 |