From b9feade57e3074916ecf76dd54b1fee7ce7f147d Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Mon, 13 Nov 2023 16:08:23 -0500 Subject: [PATCH] restore release.yml --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef60f3cda1..e130f3a337 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,13 +63,11 @@ jobs: python -c "import flopy; print(f'FloPy version: {flopy.__version__}')" echo "version=${ver#"v"}" >> $GITHUB_OUTPUT - - name: Update FloPy package classes + - name: Update FloPy packages run: python -m flopy.mf6.utils.generate_classes --ref master --no-backup - - name: Format Python files - run: | - black -v flopy - isort -v flopy + - name: Lint Python files + run: python scripts/pull_request_prepare.py - name: Run tests working-directory: autotest @@ -82,7 +80,8 @@ jobs: if: failure() with: name: failed-${{ matrix.os }}-${{ matrix.python-version }} - path: autotest/.failed/** + path: | + ./autotest/.failed/** - name: Run notebooks working-directory: scripts