From 3bac08fdfe99c60dcc5cb8b0ef49d4bba536fc52 Mon Sep 17 00:00:00 2001 From: pyth0n1c Date: Mon, 8 Jul 2024 14:02:05 -0700 Subject: [PATCH] set step summary. update action versions --- .github/workflows/unit-testing.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit-testing.yml b/.github/workflows/unit-testing.yml index cd4b108815..6ce8812ae1 100644 --- a/.github/workflows/unit-testing.yml +++ b/.github/workflows/unit-testing.yml @@ -10,11 +10,11 @@ jobs: # needs: [validate-tag-if-present, quit-for-dependabot] steps: - name: Check out the repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: develop - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' #Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified @@ -30,12 +30,12 @@ jobs: git pull git checkout ${GITHUB_REF#refs/heads/} contentctl test --disable-tqdm --post-test-behavior never_pause mode:changes --mode.target-branch develop - head -n 9 test_results/summary.yml >> $GITHUB_STEP_SUMMARY + continue-on-error: true - name: store_artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results path: | @@ -43,3 +43,7 @@ jobs: - name: Print entire test_results/summary.yml run: cat test_results/summary.yml + + - name: Set Step Summary + run: head -n 9 test_results/summary.yml >> $GITHUB_STEP_SUMMARY +