Skip to content

Commit 746c114

Browse files
authored
Merge pull request #105 from r-world-devs/maciekbanas/99/skip-integration-tests-on-cran
Skip test on CRAN
2 parents 3bac701 + b438340 commit 746c114

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: GitAI
22
Title: Extracts Knowledge From Git Repositories
3-
Version: 0.0.0.9018
3+
Version: 0.0.0.9019
44
Authors@R: c(
55
person("Kamil", "Wais", , "[email protected]", role = c("aut", "cre")),
66
person("Krystian", "Igras", , "[email protected]", role = "aut"),

tests/testthat/test-set_llm.R

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ test_that("setting LLM with default provider ", {
4141
)
4242
})
4343

44-
test_that("setting LLM with non-default provider ", {
45-
46-
my_project <- initialize_project("gitai_test_project")
47-
48-
testthat::local_mocked_bindings(
49-
chat_bedrock = chat_bedrock_mocked,
50-
.package = "ellmer"
51-
)
52-
53-
})
54-
5544
test_that("setting LLM with non-existing provider ", {
5645
my_project <- initialize_project("gitai_test_project")
5746
expect_error(

tests/testthat/test-set_repos.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
test_that("set_*_repos creates GitStats object inside GitAI with repos set", {
2+
testthat::skip_on_cran()
23
withr::local_envvar(GITAI_VERBOSE = FALSE)
34
my_project <- initialize_project("gitai_test_project")
45

0 commit comments

Comments
 (0)