Skip to content

Commit

Permalink
Merge branch 'main' into test_optimal_kerchunk
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi authored Mar 6, 2025
2 parents a1f54c4 + 89bd641 commit 9429fae
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-on-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build and publish PyActiveStorage on PyPi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.13
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-condalock-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Create and verify conda lock file for latest Python
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install-from-condalock-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
name: Linux Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/run-test-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
name: Linux Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
Expand All @@ -27,9 +27,17 @@ jobs:
python-version: ${{ matrix.python-version }}
miniforge-version: "latest"
use-mamba: true
mamba-version: "2.0.5" # https://github.com/conda-incubator/setup-miniconda/issues/392
- run: conda --version
- run: python -V
- name: Install development version of NCAS-CMS/Pyfive:wacasoft
run: |
cd ..
git clone https://github.com/NCAS-CMS/pyfive.git
cd pyfive
git checkout wacasoft
pip install -e .
- run: pip install -e .
- run: conda list
- run: pytest -n 2 --junitxml=report-1.xml
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v5
21 changes: 19 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- pyfive
schedule:
- cron: '0 0 * * *' # nightly

Expand All @@ -21,7 +22,7 @@ jobs:
fail-fast: false
name: Linux Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
Expand All @@ -31,8 +32,16 @@ jobs:
python-version: ${{ matrix.python-version }}
miniforge-version: "latest"
use-mamba: true
mamba-version: "2.0.5" # https://github.com/conda-incubator/setup-miniconda/issues/392
- run: conda --version
- run: python -V
- name: Install development version of NCAS-CMS/Pyfive:wacasoft
run: |
cd ..
git clone https://github.com/NCAS-CMS/pyfive.git
cd pyfive
git checkout wacasoft
pip install -e .
- run: conda list
- run: pip install -e .
- run: conda list
Expand All @@ -46,7 +55,7 @@ jobs:
fail-fast: false
name: OSX Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
Expand All @@ -56,8 +65,16 @@ jobs:
python-version: ${{ matrix.python-version }}
miniforge-version: "latest"
use-mamba: true
mamba-version: "2.0.5" # https://github.com/conda-incubator/setup-miniconda/issues/392
- run: conda --version
- run: python -V
- name: Install development version of NCAS-CMS/Pyfive:wacasoft
run: |
cd ..
git clone https://github.com/NCAS-CMS/pyfive.git
cd pyfive
git checkout wacasoft
pip install -e .
- run: conda list
- run: mamba install -c conda-forge git
- run: pip install -e .
Expand Down
25 changes: 17 additions & 8 deletions .github/workflows/test_s3_minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ jobs:
fail-fast: false
name: Linux Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
miniforge-version: "latest"
use-mamba: true
mamba-version: "2.0.5" # https://github.com/conda-incubator/setup-miniconda/issues/392
- name: Get conda and Python versions
run: |
conda --version
Expand All @@ -55,6 +56,14 @@ jobs:
python-version: ${{ matrix.python-version }}
miniforge-version: "latest"
use-mamba: true
mamba-version: "2.0.5" # https://github.com/conda-incubator/setup-miniconda/issues/392
- name: Install development version of NCAS-CMS/Pyfive:wacasoft
run: |
cd ..
git clone https://github.com/NCAS-CMS/pyfive.git
cd pyfive
git checkout wacasoft
pip install -e .
- name: Install PyActiveStorage
run: |
conda --version
Expand All @@ -81,10 +90,10 @@ jobs:
- name: Stop minio object storage
run: tests/s3_exploratory/minio_scripts/minio-stop
if: always()
- name: Upload HTML report artifact
uses: actions/upload-artifact@v4
with:
name: html-report
path: test-reports/
overwrite: true
if: always()
#- name: Upload HTML report artifact
# uses: actions/upload-artifact@v4
# with:
# name: html-report
# path: test-reports/
# overwrite: true
# if: always()
Loading

0 comments on commit 9429fae

Please sign in to comment.