some changes
This commit is contained in:
parent
7441d957e1
commit
b04cd5aa4d
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -276,7 +276,7 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: src
|
working-directory: src
|
||||||
env:
|
env:
|
||||||
CORSO_LOG_FILE: ${{ github.workspace }}/src/testlog/run-unit.log
|
CORSO_LOG_FILE: /tmp/corso-testlog/run-unit.log
|
||||||
LOG_GRAPH_REQUESTS: true
|
LOG_GRAPH_REQUESTS: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -297,12 +297,14 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-golang-
|
${{ runner.os }}-golang-
|
||||||
|
|
||||||
- run: mkdir testlog
|
- run: mkdir -p /tmp/corso-testlog
|
||||||
|
|
||||||
- name: one test
|
- name: one test
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
export GODEBUG=gocachetest=1
|
||||||
|
|
||||||
# Run the first test
|
# Run the first test
|
||||||
go test \
|
go test \
|
||||||
-tags testing \
|
-tags testing \
|
||||||
@ -372,7 +374,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: unit-test-log
|
name: unit-test-log
|
||||||
path: src/testlog/*
|
path: /tmp/corso-testlog/*
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user