Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Bump github.com/ethereum-optimism/optimism from 1.0.7 to 1.0.8 (#120) #127

Bump github.com/ethereum-optimism/optimism from 1.0.7 to 1.0.8 (#120)

Bump github.com/ethereum-optimism/optimism from 1.0.7 to 1.0.8 (#120) #127

Workflow file for this run

# Go test workflow
name: test
on:
push:
branches: [ "master", "development" ]
pull_request:
branches: [ "master", "development" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Build App
run: make build-app
go-test:
outputs:
COVERAGE: ${{ steps.unit.outputs.coverage }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Run Unit Tests
id: unit
run: |
go test -coverprofile=coverage.out ./internal/... >> out.txt
# - name: Generate Coverage
# run: |
# go tool cover -func=coverage.out | grep total | awk '{print $3}' >> out.txt
# echo "::set-output name=coverage::$(cat out.txt)"
# - name: Find Coverage Comment
# uses: peter-evans/find-comment@v1
# id: fc
# with:
# issue-number: ${{ github.event.pull_request.number }}
# comment-author: 'github-actions[bot]'
# body-includes: '### Current Test Coverage'
# - name: Add Coverage Comment
# uses: actions/github-script@v6
# env:
# DATA: ${{ steps.fc.outputs.comment-id }}
# with:
# script: |
# const script = require('./.github/scripts/comment.js')
# await script({github, context, core})
e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Run E2E Integration Tests
run: make e2e-test