This commit is contained in:
Ayaz Salikhov
2022-01-22 20:16:42 +03:00
parent 897b6e0544
commit 3f6d683f76
3 changed files with 14 additions and 6 deletions

View File

@@ -76,3 +76,13 @@ jobs:
- name: Test Docker Images
run: make -C main test-all
- name: Clone Wiki
uses: actions/checkout@v2
with:
repository: ${{github.repository}}.wiki
path: wiki
- name: Run Post-Build Hooks
id: hook-all
run: make -C main hook-all

View File

@@ -37,10 +37,9 @@ def test_nbconvert(container: TrackedContainer, test_file: str) -> None:
tty=True,
command=["start.sh", "bash", "-c", command],
)
# Spark warning
warnings = TrackedContainer.get_warnings(logs)
assert len(warnings) == 1
assert "An illegal reflective access operation has occurred" in warnings[0]
# Some Spark warnings
assert len(warnings) == 5
expected_file = f"{output_dir}/{test_file}.md"
assert expected_file in logs, f"Expected file {expected_file} not generated"

View File

@@ -16,9 +16,8 @@ def test_spark_shell(container: TrackedContainer) -> None:
tty=True,
command=["start.sh", "bash", "-c", 'spark-shell <<< "1+1"'],
)
# Spark warning
warnings = TrackedContainer.get_warnings(logs)
assert len(warnings) == 1
assert "An illegal reflective access operation has occurred" in warnings[0]
# Some Spark warnings
assert len(warnings) == 5
assert "res0: Int = 2" in logs, "spark-shell does not work"