Experiments with Fortran to Python GPU interoperability #1331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ICON4Py Quality Assurance | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: [opened, reopened, synchronize] | |
jobs: | |
pre-commit-icon4py-model: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libboost-all-dev | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
cache-dependency-path: | | |
**/pyproject.toml | |
**/base-requirements.txt | |
**/base-requirements-dev.txt | |
**/requirements.txt | |
**/requirements-dev.txt | |
- name: Install icon4py-model packages | |
working-directory: model | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install -r ./requirements-dev.txt | |
python -m pip list | |
- name: Run checks | |
run: | | |
pre-commit run |