Merge pull request #1438 from atsign-foundation/dependabot/pub/packag… #1435
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: e2e_all | |
permissions: | |
contents: read | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "docs/**" | |
branches: | |
- trunk | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
branches: | |
- trunk | |
- release-v*.*.* | |
jobs: | |
e2e_all: | |
# Don't run on PRs from a fork or Dependabot as the secrets aren't available | |
if: | |
${{ github.event.pull_request.head.repo.fork == false && github.actor != | |
'dependabot[bot]'}} | |
concurrency: e2e_all | |
runs-on: ubuntu-latest | |
steps: | |
- name: execute tests on cicd vm | |
uses: appleboy/ssh-action@25ce8cbbcb08177468c7ff7ec5cbfa236f9341e1 # v1.1.0 | |
env: | |
SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
with: | |
host: ${{ secrets.NOPORTS_CICD_HOST }} | |
username: ubuntu | |
key: ${{ secrets.NOPORTS_CICD_SSH_KEY }} | |
envs: SHA | |
script: | | |
cd noports | |
rm -rf tests/e2e_all/runtime | |
mkdir -p tests/e2e_all/runtime | |
echo "Running git fetch" | |
git fetch | |
echo "Running git checkout -f $SHA" | |
git checkout -f "$SHA" | |
echo "Running tests" | |
tests/e2e_all/scripts/main.sh @apricoteventual @combinedbelgian @rv_am |