Skip to content

Commit

Permalink
chore: Fix regression test run
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Dec 1, 2021
1 parent 1a1ed86 commit f3c576d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ jobs:
shell: bash

- name: Run regression tests
env:
AOC_SESSION: ${{ secrets.AOC_SESSION }}
run: |
make test-regression
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ check-releaser:
.PHONY: check-releaser

## Issue new release.
new-version: vet test build
new-version: vet test-regression build
./scripts/release/new-version.sh
.PHONY: new-release

Expand Down
2 changes: 1 addition & 1 deletion internal/command/regression_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestRun(t *testing.T) {

session := getenv.StringOrDefault("AOC_SESSION", "")
if session == "" {
t.Skip("AOC_SESSION not set")
t.Fatal("AOC_SESSION not set")
}

ctx := command.ContextWithSession(context.Background(), session)
Expand Down

0 comments on commit f3c576d

Please sign in to comment.