Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl committed Apr 16, 2024
1 parent c4617a4 commit 7d8aed8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ jobs:
publish_check_name: ${{ matrix.product.name }}
token: ${{ secrets.GITHUB_TOKEN }}
go_mod_path: ./integration-tests/go.mod
go_coverage_dir: ./integration-tests/go-coverage
go_coverage_dir: ${{ github.workspace }}/integration-tests/go-coverage
cache_key_id: core-e2e-${{ env.MOD_CACHE_VERSION }}
cache_restore_only: "true"
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
Expand Down
4 changes: 2 additions & 2 deletions core/chainlink.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ ENV XDG_CACHE_HOME /home/${CHAINLINK_USER}/.cache
RUN mkdir -p ${XDG_CACHE_HOME}

# Set up coverage dir env variable
ENV GOCOVERDIR="coverage"
RUN mkdir -p coverage
ENV GOCOVERDIR="/var/tmp/go-coverage"
RUN mkdir -p "/var/tmp/go-coverage"

EXPOSE 6688
ENTRYPOINT ["chainlink"]
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/docker/test_env/cl_node_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (c *ClCluster) CopyFolderFromNodes(ctx context.Context, srcPath, destPath s
errors <- fmt.Errorf("failed to list files in container for node %d: %w", id, err)
return
}
fmt.Printf("Coverage files in chainlink node container: %v\n", covFiles)
fmt.Printf("Coverage files for chainlink node: %v\n", covFiles)

err = copyFolderFromContainerUsingDockerCP(ctx, n.Container.GetContainerID(), srcPath, finalDestPath)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/docker/test_env/test_env_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (b *CLTestEnvBuilder) Build() (*CLClusterTestEnv, error) {
if err := os.MkdirAll(testCoverageDir, 0755); err != nil {
b.l.Error().Err(err).Str("coverageDir", testCoverageDir).Msg("Failed to create test coverage directory")
}
err = b.te.ClCluster.CopyFolderFromNodes(context.Background(), "/home/root/coverage", testCoverageDir)
err = b.te.ClCluster.CopyFolderFromNodes(context.Background(), "/var/tmp/go-coverage", testCoverageDir)
if err != nil {
b.l.Error().Err(err).Msg("Failed to copy test coverage files from nodes")
} else {
Expand Down

0 comments on commit 7d8aed8

Please sign in to comment.