Skip to content

[CMSP-726] switch to gha #14

[CMSP-726] switch to gha

[CMSP-726] switch to gha #14

Workflow file for this run

name: Test
on:
pull_request:
release:
types: [created]
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Composer Dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Install SSH key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.PANTHEON_UPSTREAM_SSH_KEY }}
- name: Run Update Tool Whoami
run: |
export GITHUB_TOKEN=${{ secrets.PANTHEON_UPSTREAM_AUTH_TOKEN }}
git config --global user.email "[email protected]"
git config --global user.name "Pantheon Automation"
gh auth login --with-token <<< "${GITHUB_TOKEN}"
gh auth status
./update-tool whoami
- name: Run tests
run: composer test