Skip to content

Commit fcc566a

Browse files
authored
ci(release): sync from spec in build workflow (#2444)
1 parent 8f2893e commit fcc566a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ jobs:
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141

42-
- name: Update FloPy version
42+
- name: Sync MF6 module
43+
run: uv run python -m flopy.mf6.utils.generate_classes --no-backup
44+
45+
- name: Update version numbers
4346
id: version
4447
run: |
4548
# extract version from branch name
@@ -57,10 +60,12 @@ jobs:
5760
uv run python -c "import flopy; print(f'FloPy version: {flopy.__version__}')"
5861
echo "version=${ver#"v"}" >> $GITHUB_OUTPUT
5962
60-
- name: Lint and format Python files
63+
- name: Format and lint Python files
6164
run: |
62-
uvx ruff check --fix
6365
uvx ruff format
66+
uvx ruff check --fix
67+
uvx ruff format flopy/mf6/modflow/*.py
68+
uvx ruff check --fix flopy/mf6/modflow/*.py
6469
6570
- name: Run tests
6671
working-directory: autotest

0 commit comments

Comments
 (0)