diff --git a/.github/workflows/run-tests-push.yml b/.github/workflows/run-tests-push.yml index 224c5ae9..30248491 100644 --- a/.github/workflows/run-tests-push.yml +++ b/.github/workflows/run-tests-push.yml @@ -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 @@ -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 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7b6937df..3be3bcb0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 diff --git a/bgcval2/_runtime_config.py b/bgcval2/_runtime_config.py index 0781055e..1ff798b0 100644 --- a/bgcval2/_runtime_config.py +++ b/bgcval2/_runtime_config.py @@ -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