aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-03-22 14:51:18 +0100
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-03-22 14:51:18 +0100
commitb741d38e104c45b63630ac1068ed3d425f690691 (patch)
tree2d8ec0b9467a4238fa9a2303a2f4ace9aead9a45 /.github
parent6948d1652742ae83cf7729f1cfaa0d1ea796b703 (diff)
Update Workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/schedules.yaml18
1 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/schedules.yaml b/.github/workflows/schedules.yaml
index b6a15bab..afbefbdd 100644
--- a/.github/workflows/schedules.yaml
+++ b/.github/workflows/schedules.yaml
@@ -12,7 +12,6 @@ concurrency:
jobs:
# run Sytest in different variations
sytest:
- if: ${{ false }}
timeout-minutes: 60
name: "Sytest (${{ matrix.label }})"
runs-on: ubuntu-latest
@@ -70,6 +69,7 @@ jobs:
path: |
/logs/results.tap
/logs/**/*.log*
+ /logs/covdatafiles/**
sytest-coverage:
timeout-minutes: 5
@@ -86,16 +86,15 @@ jobs:
cache: true
- name: Download all artifacts
uses: actions/download-artifact@v3
- - name: Install gocovmerge
- run: go install github.com/wadey/gocovmerge@latest
- - name: Run gocovmerge
+ - name: Collect coverage
run: |
- find -name 'integrationcover.log' -printf '"%p"\n' | xargs gocovmerge | grep -Ev 'relayapi|setup/mscs|api_trace' > sytest.cov
- go tool cover -func=sytest.cov
+ go tool covdata textfmt -i=$(find Sytest* -name 'covmeta*' -type f -exec dirname {} \; | uniq | awk -F '/' '$3!="" {print $0}' | paste -s -d ',' -) -o sytest.cov
+ grep -Ev 'relayapi|setup/mscs|api_trace' complement.cov > final.cov
+ go tool covdata func -i=$(find Sytest* -name 'covmeta*' -type f -exec dirname {} \; | uniq | awk -F '/' '$3!="" {print $0}' | paste -s -d ',' -)
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
- files: ./sytest.cov
+ files: ./final.cov
flags: sytest
fail_ci_if_error: true
@@ -200,6 +199,7 @@ jobs:
needs: complement # only run once Complement is done
if: ${{ always() }}
steps:
+ - uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
@@ -209,8 +209,9 @@ jobs:
uses: actions/download-artifact@v3
- name: Collect coverage
run: |
- go tool covdata textfmt -i=$(find . -name 'covmeta*' -type f -exec dirname {} \; | uniq | awk -F '/' '$3!="" {print $0}' | paste -s -d ',' -) -o complement.cov
+ go tool covdata textfmt -i=$(find Complement* -name 'covmeta*' -type f -exec dirname {} \; | uniq | awk -F '/' '$3!="" {print $0}' | paste -s -d ',' -) -o complement.cov
grep -Ev 'relayapi|setup/mscs|api_trace' complement.cov > final.cov
+ go tool covdata func -i=$(find Complement* -name 'covmeta*' -type f -exec dirname {} \; | uniq | awk -F '/' '$3!="" {print $0}' | paste -s -d ',' -)
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
@@ -219,7 +220,6 @@ jobs:
fail_ci_if_error: true
element_web:
- if: ${{ false }}
timeout-minutes: 120
runs-on: ubuntu-latest
steps: