Skip to content

Commit b2575e7

Browse files
committed
fix
1 parent 4b16a69 commit b2575e7

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

Taskfile.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,16 @@ tasks:
7272

7373
test:
7474
cmds:
75-
- go run gotest.tools/gotestsum --format testname -- -v -coverprofile=coverage.txt ./...
75+
- go run gotest.tools/gotestsum --format testname -- -v -coverprofile=coverage.txt ./internal/... ./shared/... ./template/...
7676
desc: run unit tests
77-
sources:
78-
- "**/*.go"
7977
generates:
8078
- coverage.txt
8179

8280
test.e2e:
8381
desc: run end-to-end tests
84-
sources:
85-
- "**/*.go"
86-
- "./.mockery.yaml"
8782
cmds:
8883
- ./e2e/run_all.sh
84+
- go run gotest.tools/gotestsum --format testname -- -v -count=1 ./e2e/...
8985

9086
test.ci:
9187
deps: [lint]

e2e/run_all.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,3 @@ for test in $(ls -d $SCRIPT_DIR/test_*); do
1515
echo "=========="
1616
$file
1717
done
18-
19-
echo "================="
20-
echo "RUNNING GO TESTS"
21-
echo "================="
22-
23-
TEST_TAG=e2e go test $SCRIPT_DIR/...

e2e/test_template_exercise/exercise_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ import (
1111
)
1212

1313
func TestExercise(t *testing.T) {
14-
if os.Getenv("TEST_TAG") != "e2e" {
15-
t.Skip("e2e tag not provided")
16-
}
1714
outfile := pathlib.NewPath("./exercise.txt")
1815
defer outfile.Remove()
1916

0 commit comments

Comments
 (0)