From 21ce15454bf00fd169057e56e0c03e65067ef61c Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 24 Jul 2025 17:25:09 -0700 Subject: [PATCH 1/4] Test across different operating systems in the main CI workflow --- .github/workflows/main.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 659e7256..5710a03a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,15 +18,27 @@ concurrency: jobs: test: - name: ${{ matrix.environment }}-build - runs-on: ubuntu-latest + name: ${{ matrix.os }} - ${{ matrix.environment }}-build + runs-on: ${{ matrix.os }} defaults: run: shell: bash -l {0} strategy: fail-fast: false matrix: + os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest] environment: [test-py311, test-py312, min-deps, minio] + # Is it a draft Pull Request (true or false)? + isDraft: + - ${{ github.event.pull_request.draft }} + # Only run jobs on Ubuntu for draft PRs + exclude: + - os: ubuntu-24.04-arm + isDraft: true + - os: macos-latest + isDraft: true + - os: windows-latest + isDraft: true steps: - uses: actions/checkout@v4 - uses: prefix-dev/setup-pixi@v0.8.3 From 3a430d213fd5feb2bd9ec98015f0b6ac1711ded8 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 24 Jul 2025 17:27:48 -0700 Subject: [PATCH 2/4] Remove ubuntu-24.04-arm --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5710a03a..7e387942 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,15 +26,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] environment: [test-py311, test-py312, min-deps, minio] # Is it a draft Pull Request (true or false)? isDraft: - ${{ github.event.pull_request.draft }} # Only run jobs on Ubuntu for draft PRs exclude: - - os: ubuntu-24.04-arm - isDraft: true - os: macos-latest isDraft: true - os: windows-latest From e1e8adcfc7ff271bc5eca45a7033345612c62a70 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 24 Jul 2025 17:28:58 -0700 Subject: [PATCH 3/4] Fix name --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7e387942..35f2faee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ concurrency: jobs: test: - name: ${{ matrix.os }} - ${{ matrix.environment }}-build + name: ${{ matrix.os }}-${{ matrix.environment }}-build runs-on: ${{ matrix.os }} defaults: run: From b474f0cced771e59539649130a9eb714797efd99 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 24 Jul 2025 17:48:02 -0700 Subject: [PATCH 4/4] Add minio task --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index aeafacb7..7bc51705 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -206,6 +206,7 @@ readthedocs = { cmd = "rm -rf $READTHEDOCS_OUTPUT/html && cp -r site $READTHEDOC [tool.pixi.feature.minio.tasks] run-tests = { cmd = "pytest virtualizarr/tests/test_manifests/test_store.py virtualizarr/tests/test_parsers/test_hdf/test_hdf_manifest_store.py --run-minio-tests --run-network-tests --verbose" } run-tests-xml-cov = { cmd = "pytest virtualizarr/tests/test_manifests/test_store.py virtualizarr/tests/test_parsers/test_hdf/test_hdf_manifest_store.py --run-minio-tests --run-network-tests --verbose --cov-report=xml" } +run-tests-including-slow= { cmd = "pytest virtualizarr/tests/test_manifests/test_store.py virtualizarr/tests/test_parsers/test_hdf/test_hdf_manifest_store.py --run-minio-tests --run-network-tests --run-slow-tests --verbose --cov-report=xml" } [tool.setuptools_scm] fallback_version = "9999"