mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-04 05:10:40 +00:00
Fix temp dir on ci
This commit is contained in:
@@ -87,10 +87,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
directory: ${{ runner.temp }}
|
directory: ${{ runner.temp }}
|
||||||
|
|
||||||
- name: Create temp dir
|
|
||||||
run: |
|
|
||||||
echo "COVERAGE_DIR=$(mktemp -d)" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Make
|
- name: Make
|
||||||
env:
|
env:
|
||||||
RUN_LONG_TESTS: ${{ matrix.run_long_tests }}
|
RUN_LONG_TESTS: ${{ matrix.run_long_tests }}
|
||||||
@@ -98,13 +94,13 @@ jobs:
|
|||||||
AZURE_STORAGE_ACCOUNT: "devstoreaccount1"
|
AZURE_STORAGE_ACCOUNT: "devstoreaccount1"
|
||||||
AZURE_STORAGE_ACCESS_KEY: "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
|
AZURE_STORAGE_ACCESS_KEY: "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=="
|
||||||
run: |
|
run: |
|
||||||
make
|
COVERAGE_DIR=${{ runner.temp }} make
|
||||||
|
|
||||||
- name: Merge code coverage
|
- name: Merge code coverage
|
||||||
if: matrix.run_long_tests == 'yes'
|
if: matrix.run_long_tests == 'yes'
|
||||||
run: |
|
run: |
|
||||||
go install github.com/wadey/gocovmerge@latest
|
go install github.com/wadey/gocovmerge@latest
|
||||||
~/go/bin/gocovmerge unit.out $COVERAGE_DIR/*.out > coverage.txt
|
~/go/bin/gocovmerge unit.out ${{ runner.temp }}/*.out > coverage.txt
|
||||||
|
|
||||||
- name: Upload code coverage
|
- name: Upload code coverage
|
||||||
if: matrix.run_long_tests == 'yes'
|
if: matrix.run_long_tests == 'yes'
|
||||||
|
|||||||
Reference in New Issue
Block a user