Skip to content

Merge pull request #27 from Deltares-research/update_black_dep #21

Merge pull request #27 from Deltares-research/update_black_dep

Merge pull request #27 from Deltares-research/update_black_dep #21

name: build package
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Build package
run: |
python -m build
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: dist-artifacts
path: |
dist