Skip to content

test against the right multidev and wait for the md to be set up #76

test against the right multidev and wait for the md to be set up

test against the right multidev and wait for the md to be set up #76

Workflow file for this run

name: Test
on:
push:
env:
TERMINUS_TOKEN: ${{ secrets.TERMINUS_TOKEN }}
jobs:
unit:
runs-on: ubuntu-latest
container:
image: quay.io/pantheon-public/terminus-plugin-test:4.x-php8.0
options: --user root
name: Unit Tests
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: composer install
- name: Unit Tests
run: composer test
terminus-3:
needs: unit
runs-on: ubuntu-latest
container:
image: quay.io/pantheon-public/terminus-plugin-test:4.x-php8.0
options: --user root
name: Terminus 3 Functional Tests
env:
TERMINUS_SITE: terminus-addons-installer-plugin
TERMINUS_TOKEN: ${{ secrets.TERMINUS_TOKEN }}
BUILD_NUM: ${{ github.run_number }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up environment
run: ./.bin/set-up-globals.sh
- name: Install plugin
run: terminus self:plugin:install ${GITHUB_WORKSPACE}
- name: Install SSH key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
log-public-key: false
- name: Functional Tests
run: composer functional
- name: Cleanup
if: always()
run: ./.bin/cleanup.sh
code-style:
runs-on: ubuntu-latest
container:
image: quay.io/pantheon-public/terminus-plugin-test:4.x-php8.2
options: --user root
name: Code Style
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: composer install
- name: Code Style
run: composer cs