Skip to content

Commit

Permalink
add checkout depth1 to workflow to access local github actions like g…
Browse files Browse the repository at this point in the history
…enerate allure report (#8259)

## Problem

job step to create allure report fails


https://github.com/neondatabase/neon/actions/runs/9781886710/job/27006997416#step:11:1

## Summary of changes

Shallow checkout of sources to get access to local github action needed
in the job step

## Example run 
example run with this change
https://github.com/neondatabase/neon/actions/runs/9790647724
do not merge this PR until the job is clean

---------

Co-authored-by: Alexander Bayandin <alexander@neon.tech>
  • Loading branch information
Bodobolero and bayandin committed Jul 4, 2024
1 parent 88b13d4 commit 711716c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/periodic_pagebench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
AWS_DEFAULT_REGION : "eu-central-1"
AWS_INSTANCE_ID : "i-02a59a3bf86bc7e74"
steps:
# we don't need the neon source code because we run everything remotely
# however we still need the local github actions to run the allure step below
- uses: actions/checkout@v4

- name: Show my own (github runner) external IP address - usefull for IP allowlisting
run: curl https://ifconfig.me

Expand Down Expand Up @@ -116,6 +120,9 @@ jobs:
cat "test_log_${GITHUB_RUN_ID}"
- name: Create Allure report
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_DEV }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY_DEV }}
if: ${{ !cancelled() }}
uses: ./.github/actions/allure-report-generate

Expand Down

1 comment on commit 711716c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3111 tests run: 2981 passed, 3 failed, 127 skipped (full report)


Failures on Postgres 16

  • test_lsn_lease_size[False]: debug

Failures on Postgres 14

  • test_heavy_write_workload[neon_on-github-actions-selfhosted-10-5-5]: release
  • test_sharding_autosplit[github-actions-selfhosted]: release
# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_heavy_write_workload[neon_on-release-pg14-github-actions-selfhosted-10-5-5] or test_sharding_autosplit[release-pg14-github-actions-selfhosted] or test_lsn_lease_size[debug-pg16-False]"

Test coverage report is not available

The comment gets automatically updated with the latest test results
711716c at 2024-07-04T21:42:11.010Z :recycle:

Please sign in to comment.