mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-13 06:40:41 +00:00
ci: cleanup step names
This commit is contained in:
@@ -70,7 +70,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
directory: ${{ runner.temp }}
|
directory: ${{ runner.temp }}
|
||||||
|
|
||||||
- name: Make
|
- name: "Run System Tests"
|
||||||
env:
|
env:
|
||||||
RUN_LONG_TESTS: 'yes'
|
RUN_LONG_TESTS: 'yes'
|
||||||
AZURE_STORAGE_ENDPOINT: "http://127.0.0.1:10000/devstoreaccount1"
|
AZURE_STORAGE_ENDPOINT: "http://127.0.0.1:10000/devstoreaccount1"
|
||||||
@@ -82,12 +82,12 @@ jobs:
|
|||||||
sudo mkdir -p /srv ; sudo chown runner /srv
|
sudo mkdir -p /srv ; sudo chown runner /srv
|
||||||
COVERAGE_DIR=${{ runner.temp }} make all
|
COVERAGE_DIR=${{ runner.temp }} make all
|
||||||
|
|
||||||
- name: Merge code coverage
|
- name: "Merge code coverage"
|
||||||
run: |
|
run: |
|
||||||
go install github.com/wadey/gocovmerge@latest
|
go install github.com/wadey/gocovmerge@latest
|
||||||
~/go/bin/gocovmerge unit.out ${{ runner.temp }}/*.out > coverage.txt
|
~/go/bin/gocovmerge unit.out ${{ runner.temp }}/*.out > coverage.txt
|
||||||
|
|
||||||
- name: Upload code coverage
|
- name: "Upload code coverage"
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
@@ -247,7 +247,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make binaries GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }}
|
make binaries GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- name: "Upload Artifacts"
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
if: startsWith(github.event.ref, 'refs/tags')
|
if: startsWith(github.event.ref, 'refs/tags')
|
||||||
with:
|
with:
|
||||||
name: aptly_${{ steps.releaseversion.outputs.VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}
|
name: aptly_${{ steps.releaseversion.outputs.VERSION }}_${{ matrix.goos }}_${{ matrix.goarch }}
|
||||||
|
|||||||
+1
-1
@@ -102,7 +102,7 @@ def run(include_long_tests=False, capture_results=False, tests=None, filters=Non
|
|||||||
if not matches:
|
if not matches:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
orig_stdout.write("%s: %s ... " % (test, colored(o.__name__, color="yellow", attrs=["bold"])))
|
orig_stdout.write("· %-13s ➔ %-48s ... " % (test, colored(o.__name__, color="yellow", attrs=["bold"])))
|
||||||
orig_stdout.flush()
|
orig_stdout.flush()
|
||||||
|
|
||||||
t = o()
|
t = o()
|
||||||
|
|||||||
Reference in New Issue
Block a user