Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(release): sync from spec in build workflow #2444

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading