ENH: Add calculation of water zone volumes #2143
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: Build and test fmu-dataio | |
on: | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
build_pywheels: | |
name: PY ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install fmu-dataio | |
run: | | |
pip install pip -U | |
pip install .[dev] | |
- name: Install fmu-sumo-uploader for Python 3.8 | |
if: matrix.python-version == '3.8' | |
run: | |
pip install \ | |
"fmu-sumo-uploader @ git+https://github.com/equinor/fmu-sumo-uploader.git@66a9f9b" | |
# fmu-sumo-uploader blocked by OpenVDS on Python 3.12 | |
- name: Install fmu-sumo-uploader for Python 3.9+ | |
if: matrix.python-version != '3.12' && matrix.python-version != '3.8' | |
run: | |
pip install \ | |
"fmu-sumo-uploader @ git+https://github.com/equinor/fmu-sumo-uploader.git" | |
- name: Full test | |
run: pytest -v |