From 5b76e987bdaff95af4e16ddf049c14f7cc749e8c Mon Sep 17 00:00:00 2001 From: Jennifer Cwagenberg Date: Sun, 21 Apr 2024 11:13:37 +0000 Subject: [PATCH] ci: rename devconatiner set --- .github/workflows/test.yml | 2 +- notebooks/pytorch_sentiment_analysis.ipynb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f18de1d..5ed8c74 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: make test test-notebooks: - uses: actions/checkout@v4 - - name: Run make ci-build in dev container + - name: Run notebook tests in devcontainer uses: devcontainers/ci@v0.3 with: cacheFrom: mcr.microsoft.com/devcontainers/python:1-3.9-bookworm diff --git a/notebooks/pytorch_sentiment_analysis.ipynb b/notebooks/pytorch_sentiment_analysis.ipynb index bb2264c..cf8f61e 100644 --- a/notebooks/pytorch_sentiment_analysis.ipynb +++ b/notebooks/pytorch_sentiment_analysis.ipynb @@ -101,7 +101,7 @@ "nbmake": { "post_cell_execute": [ "import os\n", - "assert os.path.isfile(safe_model_path) == True" + "assert os.path.isfile(safe_model_path)" ] } }, @@ -222,7 +222,7 @@ "metadata": { "nbmake": { "post_cell_execute": [ - "assert os.path.isfile(unsafe_model_path) == True" + "assert os.path.isfile(unsafe_model_path)" ] } },