From dd61f22abda43e26d4e86d713b651f262ef9be92 Mon Sep 17 00:00:00 2001 From: Arne Binder Date: Mon, 15 Apr 2024 19:41:17 +0200 Subject: [PATCH 1/5] test ci for dataset tests --- dataset_builders/pie/argmicro/argmicro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataset_builders/pie/argmicro/argmicro.py b/dataset_builders/pie/argmicro/argmicro.py index f6c20578..f9df10cf 100644 --- a/dataset_builders/pie/argmicro/argmicro.py +++ b/dataset_builders/pie/argmicro/argmicro.py @@ -267,7 +267,7 @@ class ArgMicro(GeneratorBasedBuilder): TextDocumentWithLabeledSpansAndBinaryRelations: convert_to_text_document_with_labeled_spans_and_binary_relations } - BASE_DATASET_PATH = "DFKI-SLT/argmicro" + BASE_DATASET_PATH = "DFKI-SLT/argmicroXXX" BASE_DATASET_REVISION = "282733d6d57243f2a202d81143c4e31bb250e663" BUILDER_CONFIGS = [datasets.BuilderConfig(name="en"), datasets.BuilderConfig(name="de")] From d52691692a4d3f0b3800c755bca132428dc9f585 Mon Sep 17 00:00:00 2001 From: Arne Binder Date: Mon, 15 Apr 2024 19:45:01 +0200 Subject: [PATCH 2/5] revert: test ci for datasets tests --- dataset_builders/pie/argmicro/argmicro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataset_builders/pie/argmicro/argmicro.py b/dataset_builders/pie/argmicro/argmicro.py index f9df10cf..f6c20578 100644 --- a/dataset_builders/pie/argmicro/argmicro.py +++ b/dataset_builders/pie/argmicro/argmicro.py @@ -267,7 +267,7 @@ class ArgMicro(GeneratorBasedBuilder): TextDocumentWithLabeledSpansAndBinaryRelations: convert_to_text_document_with_labeled_spans_and_binary_relations } - BASE_DATASET_PATH = "DFKI-SLT/argmicroXXX" + BASE_DATASET_PATH = "DFKI-SLT/argmicro" BASE_DATASET_REVISION = "282733d6d57243f2a202d81143c4e31bb250e663" BUILDER_CONFIGS = [datasets.BuilderConfig(name="en"), datasets.BuilderConfig(name="de")] From e61e03736088b43ff28280a7ec6b70ce0dced5ad Mon Sep 17 00:00:00 2001 From: Arne Binder Date: Mon, 15 Apr 2024 19:45:37 +0200 Subject: [PATCH 3/5] fix paths for GitHub workflows --- .github/workflows/test_datasets.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_datasets.yaml b/.github/workflows/test_datasets.yaml index 855877a7..ce654d09 100644 --- a/.github/workflows/test_datasets.yaml +++ b/.github/workflows/test_datasets.yaml @@ -5,7 +5,7 @@ on: push: branches: [main] paths: - - "src/dataset_builders/**" + - "dataset_builders/**" - "data/datasets/**" - "tests/dataset_builders/**" - "tests/fixtures/dataset_builders/**" @@ -13,7 +13,7 @@ on: pull_request: branches: [main, "release/*"] paths: - - "src/dataset_builders/**" + - "dataset_builders/**" - "data/datasets/**" - "tests/dataset_builders/**" - "tests/fixtures/dataset_builders/**" From 67a15ce8c045f0fc18063711637a9bce88aacc37 Mon Sep 17 00:00:00 2001 From: Arne Binder Date: Mon, 15 Apr 2024 19:47:45 +0200 Subject: [PATCH 4/5] fix paths for GitHub workflows --- .github/workflows/test.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b3572991..1d2b45df 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,12 +8,14 @@ on: - "dataset_builders/**" - "tests/dataset_builders/**" - "tests/fixtures/dataset_builders/**" + - ".github/workflows/test_datasets.yaml" pull_request: branches: [main, "release/*"] paths-ignore: - "dataset_builders/**" - "tests/dataset_builders/**" - "tests/fixtures/dataset_builders/**" + - ".github/workflows/test_datasets.yaml" jobs: tests: From aadb7181504b9c6e615fea4f4d74258545f90f1d Mon Sep 17 00:00:00 2001 From: Arne Binder Date: Mon, 15 Apr 2024 19:53:28 +0200 Subject: [PATCH 5/5] improve paths for GitHub workflows --- .github/workflows/test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1d2b45df..6e55766b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,14 +8,16 @@ on: - "dataset_builders/**" - "tests/dataset_builders/**" - "tests/fixtures/dataset_builders/**" - - ".github/workflows/test_datasets.yaml" + - ".github/workflows/**" + - "!.github/workflows/test.yaml" pull_request: branches: [main, "release/*"] paths-ignore: - "dataset_builders/**" - "tests/dataset_builders/**" - "tests/fixtures/dataset_builders/**" - - ".github/workflows/test_datasets.yaml" + - ".github/workflows/**" + - "!.github/workflows/test.yaml" jobs: tests: