Skip to content

Commit

Permalink
pipeline test
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Mar 8, 2024
1 parent 70e0f4d commit 6589e9f
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
if [[ ${{ inputs.macos }} == true ]]; then mac="macos-latest"; fi
strategy="[${win:+\"$win\"}${ubu:+,\"$ubu\"}${mac:+,\"$mac\"}]"
echo "matrix={\"os\":$strategy}" >> $GITHUB_OUTPUT
- name: print strategy
run: echo "will run on ${{ steps.set-matrix.outputs.matrix }}"

build-and-test:
needs: determine-strategy
Expand Down
2 changes: 1 addition & 1 deletion src/AVPRClient/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AVPR Client

.NET client library for https://avpr.nfdi4plants.org.

Generated with NSwag based on the OpenAPI specification.

## Usage
Expand Down
18 changes: 18 additions & 0 deletions src/PackageRegistryService/Data/arc-validate-package-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,24 @@
"ReleaseNotes": "Initial release"
}
},
{
"RepoPath": "src/PackageRegistryService/StagingArea/test/[email protected]",
"FileName": "[email protected]",
"LastUpdated": "2024-03-08T11:36:33+01:00",
"ContentHash": "3E9AEA58F3E92BBE954A0448B343ABE7",
"Metadata": {
"Name": "test",
"Summary": "this package is here for testing purposes only.",
"Description": "this package is here for testing purposes only.",
"MajorVersion": 0,
"MinorVersion": 0,
"PatchVersion": 1,
"Publish": true,
"Authors": [],
"Tags": [],
"ReleaseNotes": ""
}
},
{
"RepoPath": "src/PackageRegistryService/StagingArea/test/[email protected]",
"FileName": "[email protected]",
Expand Down
29 changes: 29 additions & 0 deletions src/PackageRegistryService/StagingArea/test/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
(*
---
Name: test
Summary: this package is here for testing purposes only.
Description: this package is here for testing purposes only.
MajorVersion: 0
MinorVersion: 0
PatchVersion: 1
Publish: true
---
*)

// this file is intended for testing purposes only.
printfn "If you can read this in your console, you successfully executed test package v1.0.0!"

#r "nuget: ARCExpect, 1.0.1"

open ARCExpect
open Expecto

let validationCases = testList "test" [
test "yes" {Expect.equal 1 1 "yes"}
]

validationCases
|> Execute.ValidationPipeline(
basePath = System.Environment.CurrentDirectory,
packageName = "test"
)

0 comments on commit 6589e9f

Please sign in to comment.