Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vboutrou committed Oct 1, 2024
1 parent 72067e8 commit d3aa56b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Download All TestResults
uses: actions/download-artifact@v4
with:
path: SoftwareTests
path: public
pattern: TestResults_*
merge-multiple: true

Expand Down
4 changes: 2 additions & 2 deletions SoftwareTests/CheckTestResults.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
end

properties (ClassSetupParameter)
Project = {''};
Project = {currentProject()};
end

properties (TestParameter)
Expand All @@ -15,7 +15,7 @@
methods (TestParameterDefinition,Static)

function Version = GetResults(Project)
RootFolder = currentProject().RootFolder;
RootFolder = Project.RootFolder;
Version = dir(fullfile(RootFolder,"public","TestResults*.txt"));
Version = extractBetween([Version.name],"TestResults_",".txt");
end
Expand Down

0 comments on commit d3aa56b

Please sign in to comment.