Skip to content

Commit

Permalink
fix: nightly e2e workflow (#2670)
Browse files Browse the repository at this point in the history
The workflow wasn't correctly pulling the latest version. This fixes
that. It also updates the default to "latest"
  • Loading branch information
cmwaters authored Oct 30, 2023
1 parent c4c7e94 commit 0cc6a54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
schedule:
# runs every day at 6am UTC
- cron: "0 6 * * *"
workflow_dispatch:

env:
GO_VERSION: '1.21.1'
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,8 @@ test-short:

## test-e2e: Run end to end tests via knuu.
test-e2e:
@version=$(git rev-parse --short HEAD)
@echo "--> Running e2e tests on version: $version"
@KNUU_NAMESPACE=test E2E_VERSION=$version E2E=true go test ./test/e2e/... -timeout 30m
@echo "--> Running e2e tests on version: $(shell git rev-parse --short HEAD)"
@KNUU_NAMESPACE=test E2E_VERSION=$(shell git rev-parse --short HEAD) E2E=true go test ./test/e2e/... -timeout 10m -v
.PHONY: test-e2e

## test-race: Run tests in race mode.
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/simple_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (

const seed = 42

var latestVersion = "v1.0.0-rc12"
var latestVersion = "latest"

// This test runs a simple testnet with 4 validators. It submits both MsgPayForBlobs
// and MsgSends over 30 seconds and then asserts that at least 10 transactions were
Expand Down

0 comments on commit 0cc6a54

Please sign in to comment.