Skip to content

Commit

Permalink
Review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mslipper committed Sep 16, 2024
1 parent 044c8b3 commit 80aba90
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 10 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,10 @@ jobs:
description: Uses contract artifacts
type: boolean
default: false
test_directory:
description: Test directory
type: string
default: "./..."
machine:
image: <<pipeline.parameters.base_image>> # only used to enable codecov.
resource_class: xlarge
Expand Down Expand Up @@ -895,7 +899,7 @@ jobs:
--jsonfile=/tmp/testlogs/log.json \
-- -parallel=8 \
-coverpkg=github.com/ethereum-optimism/optimism/... \
-coverprofile=coverage.out ./...
-coverprofile=coverage.out <<parameters.test_directory>>
working_directory: <<parameters.module>>
- store_test_results:
path: /tmp/test-results
Expand Down Expand Up @@ -1664,9 +1668,13 @@ workflows:
name: op-batcher-tests
module: op-batcher
requires: ["go-mod-download"]
- go-test-kurtosis:
- go-test:
name: op-chain-ops-tests
module: op-chain-ops
- go-test-kurtosis:
name: op-chain-ops-integration
module: op-chain-ops
test_directory: ./deployer/integration_test
uses_artifacts: true
requires: ["contracts-bedrock-build"]
- go-test:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package deployer
package integration_test

import (
"context"
Expand All @@ -10,6 +10,8 @@ import (
"path"
"testing"

"github.com/ethereum-optimism/optimism/op-chain-ops/deployer"

"github.com/ethereum-optimism/optimism/op-chain-ops/deployer/pipeline"
"github.com/ethereum-optimism/optimism/op-chain-ops/deployer/state"
"github.com/ethereum-optimism/optimism/op-chain-ops/devkeys"
Expand Down Expand Up @@ -104,7 +106,7 @@ func TestEndToEndApply(t *testing.T) {
Version: 1,
}

require.NoError(t, ApplyPipeline(
require.NoError(t, deployer.ApplyPipeline(
ctx,
env,
intent,
Expand Down

0 comments on commit 80aba90

Please sign in to comment.