add a SkipOnCI trait fore tests

This commit is contained in:
mvenditto
2023-06-15 19:58:03 +01:00
committed by AT
parent ecafacd268
commit 2cbe791e5c
3 changed files with 17 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
using Xunit;
using Xunit;
namespace Gpt4All.Tests;
@@ -12,18 +12,21 @@ public class ModelFactoryTests
}
[Fact]
[Trait(Traits.SkipOnCI, "True")]
public void CanLoadLlamaModel()
{
using var model = _modelFactory.LoadModel(Constants.LLAMA_MODEL_PATH);
}
[Fact]
[Trait(Traits.SkipOnCI, "True")]
public void CanLoadGptjModel()
{
using var model = _modelFactory.LoadModel(Constants.GPTJ_MODEL_PATH);
}
[Fact]
[Trait(Traits.SkipOnCI, "True")]
public void CanLoadMptModel()
{
using var model = _modelFactory.LoadModel(Constants.MPT_MODEL_PATH);