diff --git a/.github/workflows/build_test_docker_arm.yml b/.github/workflows/build_test_docker_arm.yml index 38aab403..ff138291 100644 --- a/.github/workflows/build_test_docker_arm.yml +++ b/.github/workflows/build_test_docker_arm.yml @@ -1,4 +1,4 @@ -name: Build and Test Datastream Docker Containers on ARM +name: Build, Test, Push Datastream Docker Containers on ARM on: push: branches: @@ -13,7 +13,7 @@ on: - '.github/workflows/build_test_docker_arm.yml' jobs: - build-test-docker-arm: + build-test-push-docker-arm: runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/build_test_docker_x86.yaml b/.github/workflows/build_test_docker_x86.yaml index c516925e..77fdbbe8 100644 --- a/.github/workflows/build_test_docker_x86.yaml +++ b/.github/workflows/build_test_docker_x86.yaml @@ -13,7 +13,7 @@ on: - '.github/workflows/datastream_python.yml' jobs: - build-test-docker: + build-test-docker-x86: runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/build_test_push_docker_x86.yaml b/.github/workflows/build_test_push_docker_x86.yaml index b4c846a3..c0a36221 100644 --- a/.github/workflows/build_test_push_docker_x86.yaml +++ b/.github/workflows/build_test_push_docker_x86.yaml @@ -13,7 +13,7 @@ on: - '.github/workflows/datastream_python.yml' jobs: - build-test-push-docker: + build-test-push-docker-x86: runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.github/workflows/datastream_python.yml b/.github/workflows/datastream_python.yml index 485e6151..e5a3b921 100644 --- a/.github/workflows/datastream_python.yml +++ b/.github/workflows/datastream_python.yml @@ -18,7 +18,7 @@ on: permissions: contents: read jobs: - build: + test-python-tools: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/forcingprocessor.yml b/.github/workflows/forcingprocessor.yml index af31c308..3aed84df 100644 --- a/.github/workflows/forcingprocessor.yml +++ b/.github/workflows/forcingprocessor.yml @@ -18,8 +18,7 @@ on: permissions: contents: read jobs: - build: - + test-forcingprocessor: runs-on: ubuntu-latest timeout-minutes: 15 steps: diff --git a/python_tools/tests/test_configurer.py b/python_tools/tests/test_configurer.py index fd0e55ff..7e9ecfe4 100644 --- a/python_tools/tests/test_configurer.py +++ b/python_tools/tests/test_configurer.py @@ -1,5 +1,6 @@ import os, pytest, json from datetime import datetime +import pytz as tz from python_tools.configure_datastream import create_confs SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) @@ -100,7 +101,7 @@ def test_conf_daily(): data = json.load(fp) start = datetime.strptime(data['time']['start_time'],"%Y-%m-%d %H:%M:%S") - assert start.day == datetime.today().day + assert start.day == datetime.now(tz.timezone('US/Eastern')).day with open(CONF_NWM,'r') as fp: data = json.load(fp)