From 75c1cacf01d221d04c0de1bffc520bf91abcb29e Mon Sep 17 00:00:00 2001 From: Dipika Sikka Date: Wed, 21 Feb 2024 21:03:56 +0000 Subject: [PATCH] update unit, nightly --- .github/workflows/test-nightly.yml | 15 ++++++++++++++- .github/workflows/test-unit.yaml | 30 +++++++++++++++--------------- 2 files changed, 29 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test-nightly.yml b/.github/workflows/test-nightly.yml index 957cecc0..051e33af 100644 --- a/.github/workflows/test-nightly.yml +++ b/.github/workflows/test-nightly.yml @@ -14,4 +14,17 @@ jobs: - name: "⚙️ Install dependencies" run: pip3 install .[dev] - name: "🔬 Running tests" - run: make test TARGETS=full \ No newline at end of file + run: make test TARGETS=full + smoke-tests: + runs-on: ubuntu-latest + env: + SPARSEZOO_TEST_MODE: "true" + NM_DISABLE_ANALYTICS: "true" + steps: + - uses: actions/checkout@v2 + - name: "⚙️ Install dependencies" + run: pip3 install .[dev] + - name: "🔬 Running tests" + run: make test + - name: Run CLI smoke tests + run: PYTEST_ARGS="-m smoke" make test \ No newline at end of file diff --git a/.github/workflows/test-unit.yaml b/.github/workflows/test-unit.yaml index 0bf828ba..41292e76 100644 --- a/.github/workflows/test-unit.yaml +++ b/.github/workflows/test-unit.yaml @@ -32,18 +32,18 @@ jobs: run: pip3 install .[dev] - name: "🔬 Running tests" run: make test - smoke-tests: - runs-on: ubuntu-latest - env: - SPARSEZOO_TEST_MODE: "true" - NM_DISABLE_ANALYTICS: "true" - needs: test-setup - if: ${{needs.test-setup.outputs.python-diff == 1}} - steps: - - uses: actions/checkout@v2 - - name: "⚙️ Install dependencies" - run: pip3 install .[dev] - - name: "🔬 Running tests" - run: make test - - name: Run CLI smoke tests - run: PYTEST_ARGS="-m smoke" make test \ No newline at end of file + smoke-tests: + runs-on: ubuntu-latest + env: + SPARSEZOO_TEST_MODE: "true" + NM_DISABLE_ANALYTICS: "true" + needs: test-setup + if: ${{needs.test-setup.outputs.python-diff == 1}} + steps: + - uses: actions/checkout@v2 + - name: "⚙️ Install dependencies" + run: pip3 install .[dev] + - name: "🔬 Running tests" + run: make test + - name: Run CLI smoke tests + run: PYTEST_ARGS="-m smoke" make test \ No newline at end of file