Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 12 additions & 1 deletion build-and-test.yml → .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x.x

# to prevent error NU1403: Package content hash validation failed for FSharp.Core.8.0.403. The package is different than the last restore.
- name: Restore dependencies
run: dotnet restore --force-evaluate

- name: make script executable
run: chmod u+x build.sh

- name: Build and test
working-directory: ./
run: ./build.sh runtests


build-and-test-windows:

runs-on: windows-latest
Expand All @@ -34,6 +40,11 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x.x

# to prevent error NU1403: Package content hash validation failed for FSharp.Core.8.0.403. The package is different than the last restore.
- name: Restore dependencies
run: dotnet restore --force-evaluate

- name: Build and test
working-directory: ./
run: ./build.cmd runtests
2 changes: 1 addition & 1 deletion Ontology.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{CE3D
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".ci", ".ci", "{F9AB2DC2-AB20-4AC2-A827-82819C82D4FA}"
ProjectSection(SolutionItems) = preProject
build-and-test.yml = build-and-test.yml
.github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml
EndProjectSection
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "ControlledVocabulary", "src\ControlledVocabulary\ControlledVocabulary.fsproj", "{27679102-2E6D-4BD9-9DF4-FC101EA6487D}"
Expand Down
4 changes: 2 additions & 2 deletions tests/Ontology.NET.Tests/OBO/OboOntology.Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ module OboOntologyTests =
let testFile1 = try OboOntology.fromFile false testFile1Path |> Some with _ -> None
let testFile2 = try OboOntology.fromFile false testFile2Path |> Some with _ -> None
let testFile3 = try OboOntology.fromFile false testFile3Path |> Some with _ -> None
let testOboFile3Path = Path.Combine(__SOURCE_DIRECTORY__, "references", "testOboFile3.obo")
let testOboFile3Path = Path.Combine(__SOURCE_DIRECTORY__, "References", "testOboFile3.obo")
let testOboFile3 = try OboOntology.fromFile false testOboFile3Path |> Some with _ -> None
let goPath = Path.Combine(__SOURCE_DIRECTORY__, "references", "go.obo")
let goPath = Path.Combine(__SOURCE_DIRECTORY__, "References", "go.obo")
let go = try OboOntology.fromFile false goPath |> Some with _ -> None


Expand Down
8 changes: 4 additions & 4 deletions tests/Ontology.NET.Tests/Ontology.NET.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
<ItemGroup>
<None Include="OBO\References\testOboFile1.obo" />
<None Include="OBO\References\testOboFile2.obo" />
<None Include="OBO\references\testOboFile3.obo" />
<None Include="OBO\references\testOboFile4.obo" />
<None Include="OBO\references\testOboFile5.obo" />
<None Include="OBO\references\testOboFile6.obo" />
<None Include="OBO\References\testOboFile3.obo" />
<None Include="OBO\References\testOboFile4.obo" />
<None Include="OBO\References\testOboFile5.obo" />
<None Include="OBO\References\testOboFile6.obo" />
<None Include="OBO\References\CorrectHeaderTags.obo" />
<None Include="OBO\References\DuplicateHeaderTags.obo" />
<None Include="OBO\References\IncorrectHeaderTags.obo" />
Expand Down
Loading