Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions .github/workflows/run-tests-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
fail-fast: false
name: Linux Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: bgcval2
environment-file: environment.yml
Expand All @@ -38,6 +38,7 @@ jobs:
bgcval2_make_report --help
download_from_mass --help
- shell: bash -l {0}
run: pytest
run: |
pytest
- shell: bash -l {0}
run: sphinx-build -Ea doc doc/build
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
fail-fast: false
name: Linux Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: bgcval2
environment-file: environment.yml
Expand Down
4 changes: 3 additions & 1 deletion bgcval2/_runtime_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ def _establish_hostname():
elif gethostname().find('pmpc') > -1:
hostname = "pml"
elif gethostname().find('-az') > -1:
hostname = "local-test-only" # for testing on GA machine
hostname = "local-test-only" # for testing on GA machine (old type)
elif os.environ.get("INPUT_RUN_POST", None):
hostname = "local-test-only" # for testing on GA machine (new type)
# FIXME local testing only
elif gethostname().find('valeriu-PORTEGE-Z30-C') > -1:
hostname = "local-test-only" # for testing on V's laptop
Expand Down
Loading