diff --git a/.github/workflows/streaming-tests.yml b/.github/workflows/streaming-tests.yml index 5871fa31..a9d1b2bd 100644 --- a/.github/workflows/streaming-tests.yml +++ b/.github/workflows/streaming-tests.yml @@ -51,3 +51,29 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true file: ./cli_coverage.xml + + build-and-test-no-dandi: + name: Testing using ${{ matrix.os }} with ${{ matrix.python-version }} without dandi dependencies + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: ["ubuntu-latest"] + python-version: ["3.12"] + steps: + - uses: actions/checkout@v4 + - run: git fetch --prune --unshallow --tags + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install pytest + run: pip install pytest + + - name: Install package + run: pip install . + + - name: Run pytest with coverage + run: pytest -rsx diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index c818d7e6..9eda2f42 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -5,9 +5,6 @@ on: CODECOV_TOKEN: required: true -env: - TESTING_FILES_FOLDER_PATH: ./204919/testing_files/ - jobs: build-and-test: name: Testing using ${{ matrix.os }} with ${{ matrix.python-version }} @@ -17,6 +14,8 @@ jobs: matrix: os: ["ubuntu-latest", "macos-13", "windows-latest"] python-version: ["3.9", "3.10", "3.11", "3.12"] + env: + TESTING_FILES_FOLDER_PATH: ./204919/testing_files/ steps: - uses: actions/checkout@v4 - run: git fetch --prune --unshallow --tags @@ -46,3 +45,29 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true file: ./coverage.xml + + build-and-test-no-dandi: + name: Testing using ${{ matrix.os }} with ${{ matrix.python-version }} without dandi dependencies + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: ["ubuntu-latest"] + python-version: ["3.12"] + steps: + - uses: actions/checkout@v4 + - run: git fetch --prune --unshallow --tags + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install pytest + run: pip install pytest + + - name: Install package + run: pip install . + + - name: Run pytest with coverage + run: pytest -rsx