Skip to content

Commit

Permalink
set step summary. update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pyth0n1c committed Jul 8, 2024
1 parent 04f618e commit 3bac08f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,16 +30,20 @@ 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: |
test_results/summary.yml
- 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

0 comments on commit 3bac08f

Please sign in to comment.