Commit f53f7653 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

gitflows: run integration tests (#136)

parent f560f3c0
name: Setup & Run Integration Test Suite
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Setup & Run Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: webfactory/ssh-agent@v0.4.1
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_READ }}
- name: Build
run: |
git clone https://github.com/ethereum-optimism/optimism-integration.git \
$HOME/optimism-integration \
--recurse-submodules
cd $HOME/optimism-integration
if [ -z $GITHUB_HEAD_REF ]; then
GITHUB_HEAD_REF=${GITHUB_REF##*/}
fi
GIT_COMMIT=$(git rev-parse HEAD | head -c 8)
echo "optimism-integration $GIT_COMMIT"
./docker/build.sh -s deployer -b $GITHUB_HEAD_REF
- name: Test
run: |
cd $HOME/optimism-integration
DEPLOYER_TAG=$GITHUB_HEAD_REF ./test.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment