Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 13 additions & 19 deletions .github/workflows/nightlybuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install NET 7
uses: actions/setup-dotnet@v2
with:
dotnet-version: '7.0.x'
dotnet-version: '7.0.101'

- name: Restore Nuget Packages
run: dotnet restore FileProcessor.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
Expand All @@ -41,16 +41,10 @@ jobs:
- name: Setup Node.js for use with actions
uses: actions/setup-node@v1.4.4

#- name: Combine Coverage
# run: |
# npm i lcov-result-merger
# ./node_modules/lcov-result-merger/bin/lcov-result-merger.js '*.info' 'lcov.info'

#- name: Upload Code Coverage
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.github_token }}
# path-to-lcov: lcov.info
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./lcov1.info,./lcov2.info,./lcov3.info,./lcov4.info

- name: Build Docker Image
run: docker build . --file FileProcessor/Dockerfile --tag fileprocessor:latest
Expand All @@ -64,12 +58,12 @@ jobs:
name: tracelogs
path: /home/txnproc/trace/

#- uses: nashmaniac/create-issue-action@v1.1
# if: ${{ failure() }}
# name: Create an issue on build failure
# with:
# title: Investigate Nightly Build Failure
# token: ${{secrets.GITHUB_TOKEN}}
# labels: nightlybuild
# body: Url is ${{env.action_url}}
- uses: dacbd/create-issue-action@main
if: ${{ failure() }}
name: Create an issue on build failure
with:
title: Investigate Nightly Build Failure
token: ${{secrets.GITHUB_TOKEN}}
labels: nightlybuild
body: Url is ${{env.action_url}}