Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the github actions workflow to test integration with MetaMorpheus #818

Merged
merged 31 commits into from
Dec 17, 2024
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d207970
Added second job
Alexander-Sol Dec 13, 2024
8a71231
comment out first job temp
Alexander-Sol Dec 13, 2024
1cb63e0
dsd
Alexander-Sol Dec 13, 2024
e679189
dsd
Alexander-Sol Dec 13, 2024
210ce0c
dsd
Alexander-Sol Dec 13, 2024
afaa4e4
workflow edit
Alexander-Sol Dec 13, 2024
97200fc
Workflow edit
Alexander-Sol Dec 13, 2024
8ed6d15
Workflow edit
Alexander-Sol Dec 13, 2024
e938f09
Workflow edit
Alexander-Sol Dec 13, 2024
82a6d29
Workflow edit
Alexander-Sol Dec 13, 2024
acece28
Workflow edit
Alexander-Sol Dec 13, 2024
22f770a
Workflow edit
Alexander-Sol Dec 13, 2024
eeea885
Workflow edit
Alexander-Sol Dec 13, 2024
5e09357
workflow edit
Alexander-Sol Dec 13, 2024
8aef6e5
workflow edit
Alexander-Sol Dec 13, 2024
69c5c87
workflow edit
Alexander-Sol Dec 13, 2024
39400f4
workflow edit
Alexander-Sol Dec 13, 2024
c82d1f7
workflow edit
Alexander-Sol Dec 13, 2024
21de67a
workflow edit
Alexander-Sol Dec 14, 2024
6e71243
workflow edit
Alexander-Sol Dec 14, 2024
e2b6380
workflow edit
Alexander-Sol Dec 14, 2024
10a08d4
workflow edit
Alexander-Sol Dec 14, 2024
04a194b
workflow edit
Alexander-Sol Dec 14, 2024
1cae4b6
workflow edit
Alexander-Sol Dec 14, 2024
c4b0787
workflow edit
Alexander-Sol Dec 14, 2024
c770496
workflow edit
Alexander-Sol Dec 14, 2024
7c261bb
workflow edit
Alexander-Sol Dec 14, 2024
ca2f329
workflow edit
Alexander-Sol Dec 14, 2024
a452c1f
workflow edit
Alexander-Sol Dec 14, 2024
2337b55
workflow edit
Alexander-Sol Dec 14, 2024
4531cf0
Merge branch 'master' into githubActions
Alexander-Sol Dec 16, 2024
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
52 changes: 52 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,55 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
verbose: true
files: mzLib/Test*/TestResults/*/coverage.cobertura.xml
integration:
runs-on: windows-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: cd mzLib && dotnet restore
- name: Build
run: cd mzLib && dotnet build --no-restore --configuration Release
- name: Change mzLib version, pack, add source
run: |
cd mzLib;
(Get-Content mzLib.nuspec) -replace "\<version\>(.*)\</version\>", "<version>9.9.9</version>" | Set-Content mzLib.nuspec;
$mzlibMatch = Select-String -Path mzLib.nuspec -Pattern "(?<=\<version\>)(.*)(?=\</version)";
$mzlibVersion = $mzlibMatch.Matches[0].Value;
echo "mzLib version number changed to: $mzlibVersion";
nuget pack;
$currentFolder = pwd;
dotnet nuget add source $currentFolder;
dotnet nuget list source;
- name: Clone MetaMorpheus
uses: actions/checkout@master
with:
path: ./MetaMorpheus
repository: smith-chem-wisc/MetaMorpheus
ref: master
- name: Change MetaMorpheus mzLib version and restore
run: |
cd ./MetaMorpheus/MetaMorpheus;
dotnet remove CMD package mzLib;
dotnet add CMD package mzLib -v 9.9.9;
dotnet remove GUI package mzLib;
dotnet add GUI package mzLib -v 9.9.9;
dotnet remove GuiFunctions package mzLib;
dotnet add GuiFunctions package mzLib -v 9.9.9;
dotnet remove EngineLayer package mzLib;
dotnet add EngineLayer package mzLib -v 9.9.9;
dotnet remove Test package mzLib;
dotnet add Test package mzLib -v 9.9.9;
dotnet remove TaskLayer package mzLib;
dotnet add TaskLayer package mzLib -v 9.9.9;
dotnet restore;
- name: Build MetaMorpheus
run: cd ./MetaMorpheus/MetaMorpheus && dotnet build --no-restore
- name: Test
run: cd ./MetaMorpheus/MetaMorpheus && dotnet test --no-build --verbosity normal


Loading