Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/ci-hpc-gpu-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
build:
modules:
- ninja
dependencies:
- ecmwf/ecbuild@develop
- MathisRosenhauer/libaec@refs/tags/v1.1.3
- ecmwf/eccodes@develop
- ecmwf/eckit@develop
- ecmwf/odc@develop
python_dependencies:
- ecmwf/eccodes-python@develop
- ecmwf/cfgrib@master
- ecmwf/pdbufr@master
- ecmwf/pyodc@develop
env:
- ECCODES_SAMPLES_PATH=$ECCODES_DIR/share/eccodes/samples
- ECCODES_DEFINITION_PATH=$ECCODES_DIR/share/eccodes/definitions
parallel: 64
queue: ng
gpus: 1
toml_opt_dep_sections: all,test,ci
pytest_cmd: |
python -m pytest -vv -m 'not notebook and not no_cache_init' --cov=. --cov-report=xml
#python -m pytest -v -m 'notebook'
#python -m pytest --forked -vv -m 'no_cache_init'
#python -m coverage report
21 changes: 21 additions & 0 deletions .github/workflows/nightly-hpc-gpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: nightly-hpc-gpu

on:
workflow_dispatch:

# Run at 04:00 UTC every day (on default branch)
schedule:
- cron: "0 04 * * *"

jobs:
test-hpc-gpu:
runs-on: [self-hosted, linux, hpc]
steps:
- uses: ecmwf/reusable-workflows/ci-hpc@v2
with:
github_user: ${{ secrets.BUILD_PACKAGE_HPC_GITHUB_USER }}
github_token: ${{ secrets.GH_REPO_READ_TOKEN }}
troika_user: ${{ secrets.HPC_CI_TESTING_SSH_USER }}
repository: ecmwf/earthkit-data@${{ github.event.pull_request.head.sha || github.sha }}
build_config: .github/ci-hpc-gpu-config.yml
python_version: "3.10"
Loading