From 298f6863863a891f45fc0619080dd6d2afbcec0f Mon Sep 17 00:00:00 2001 From: Matteo Bunino Date: Mon, 29 Apr 2024 20:48:23 +0200 Subject: [PATCH] Update action --- .github/workflows/test-torch.yml | 11 +++++++++++ tests/use-cases/test_mnist.py | 1 + 2 files changed, 12 insertions(+) diff --git a/.github/workflows/test-torch.yml b/.github/workflows/test-torch.yml index 2cbc91ce..ceebe81a 100644 --- a/.github/workflows/test-torch.yml +++ b/.github/workflows/test-torch.yml @@ -2,6 +2,17 @@ name: Test workflows based on torch on: [push] jobs: + + my_job1: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install micromamba + shell: bash -l {0} + run: ls -la ${{ github.workspace }} + my_job: runs-on: ubuntu-latest container: diff --git a/tests/use-cases/test_mnist.py b/tests/use-cases/test_mnist.py index 9c2f2ace..a9996cc7 100644 --- a/tests/use-cases/test_mnist.py +++ b/tests/use-cases/test_mnist.py @@ -30,6 +30,7 @@ def mnist_torch_inference_files( Defaults to '.'. """ sys.path = [os.getcwd()] + sys.path + raise ValueError(sys.path) from dataloader import InferenceMNIST sample = os.path.join(root, samples_path) InferenceMNIST.generate_jpg_sample(sample, 10)