Skip to content

Commit

Permalink
ci(release): sync from spec in build workflow (#2444)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored Feb 10, 2025
1 parent 8f2893e commit fcc566a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update FloPy version
- name: Sync MF6 module
run: uv run python -m flopy.mf6.utils.generate_classes --no-backup

- name: Update version numbers
id: version
run: |
# extract version from branch name
Expand All @@ -57,10 +60,12 @@ jobs:
uv run python -c "import flopy; print(f'FloPy version: {flopy.__version__}')"
echo "version=${ver#"v"}" >> $GITHUB_OUTPUT
- name: Lint and format Python files
- name: Format and lint Python files
run: |
uvx ruff check --fix
uvx ruff format
uvx ruff check --fix
uvx ruff format flopy/mf6/modflow/*.py
uvx ruff check --fix flopy/mf6/modflow/*.py
- name: Run tests
working-directory: autotest
Expand Down

0 comments on commit fcc566a

Please sign in to comment.