Skip to content

Commit

Permalink
release(1.2.8): update mf6 version
Browse files Browse the repository at this point in the history
* Add latest version of mfusg_gsi (v2.1.1).
* Update test_request.py::test_latest_assets with latest asset list
* Update pymake calls in GH Actions workflows to use working-directory
  • Loading branch information
jdhughes-usgs committed Jul 5, 2023
1 parent a1e06f5 commit 8b8f6eb
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 12 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,29 @@ jobs:
- name: test on Linux
if: runner.os == 'Linux'
working-directory: ./autotest
run: |
pytest -v -n=auto --dist=loadfile -m="base or regression" --durations=0 --cov=pymake --cov-report=xml autotest/
pytest -v -n=auto --dist=loadfile -m="base or regression" --durations=0 --cov=pymake --cov-report=xml
- name: test on MacOS
if: runner.os == 'macOS'
working-directory: ./autotest
run: |
pytest -v -n=auto --dist=loadfile -m="base" --durations=0 --cov=pymake --cov-report=xml autotest/
pytest -v -n=auto --dist=loadfile -m="base" --durations=0 --cov=pymake --cov-report=xml
- name: test on Windows
if: runner.os == 'Windows'
working-directory: ./autotest
shell: cmd
run: |
pytest -v -m="base" --durations=0 --cov=pymake --cov-report=xml autotest/
pytest -v -m="base" --durations=0 --cov=pymake --cov-report=xml
- name: Print coverage report before upload
working-directory: ./autotest
run: |
coverage report
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
file: ./coverage.xml
file: ./autotest/coverage.xml
12 changes: 8 additions & 4 deletions .github/workflows/pymake-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,19 @@ jobs:
.github/common/download-examples.sh
- name: Run pytest
working-directory: ./autotest
run: |
pytest -v --dist=loadfile -n=auto -m="base or regression" --durations=0 --cov=pymake --cov-report=xml autotest/
pytest -v --dist=loadfile -n=auto -m="base or regression" --durations=0 --cov=pymake --cov-report=xml
- name: Print coverage report before upload
working-directory: ./autotest
run: |
coverage report
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
file: ./coverage.xml
file: ./autotest/coverage.xml

pymakeCI-gcc-prev:
name: pymake CI GCC 9 and 8
Expand Down Expand Up @@ -102,17 +104,19 @@ jobs:
.github/common/download-examples.sh
- name: Run pytest
working-directory: ./autotest
run: |
pytest -v --dist=loadfile -n=auto -m="base" --durations=0 --cov=pymake --cov-report=xml autotest/
pytest -v --dist=loadfile -n=auto -m="base" --durations=0 --cov=pymake --cov-report=xml
- name: Print coverage report before upload
working-directory: ./autotest
run: |
coverage report
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
file: ./coverage.xml
file: ./autotest/coverage.xml

pymakeCI-python-prev:
name: pymake CI with previous python versions
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/pymake-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,22 @@ jobs:
.github/common/install-python.sh
- name: Run pytest
working-directory: ./autotest
run: |
pytest -v -n=auto -m requests --durations=0 --cov=pymake --cov-report=xml autotest/
pytest -v -n=auto -m requests --durations=0 --cov=pymake --cov-report=xml
- name: Run scheduled tests
if: ${{ github.event_name == 'schedule' }}
working-directory: ./autotest
run: |
pytest -v -m="schedule" --durations=0 --cov=pymake --cov-report=xml autotest/
pytest -v -m="schedule" --durations=0 --cov=pymake --cov-report=xml
- name: Print coverage report before upload
working-directory: ./autotest
run: |
coverage report
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
file: ./coverage.xml
file: ./autotest/coverage.xml
2 changes: 1 addition & 1 deletion autotest/test_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ def test_latest_assets():
keys = assets.keys()
test_keys = [
"code.json",
"code.md",
"mac.zip",
"linux.zip",
"win32.zip",
"win64.zip",
]
for key in keys:
Expand Down

0 comments on commit 8b8f6eb

Please sign in to comment.