From 1f853b3a1154923f43a0261f3f2acca9d4bf8e68 Mon Sep 17 00:00:00 2001 From: AYAHASSAN287 <49167455+AYAHASSAN287@users.noreply.github.com> Date: Fri, 27 Dec 2024 11:10:12 +0300 Subject: [PATCH] checkout on smoke_tests tag (#96) * checkout on smoke_tests tag * MOdify pytest command * Update README.md Add steps on how to use new tag for PR tests in readme file --- .github/workflows/test_PR_image.yml | 4 ++-- README.md | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_PR_image.yml b/.github/workflows/test_PR_image.yml index 3f88abd51e..89d779efcb 100644 --- a/.github/workflows/test_PR_image.yml +++ b/.github/workflows/test_PR_image.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/checkout@v4 with: repository: waku-org/waku-interop-tests - + ref: SMOKE_TESTS - uses: actions/setup-python@v4 with: @@ -55,7 +55,7 @@ jobs: - name: Run tests timeout-minutes: 30 run: | - pytest -m 'smoke' -n 4 --dist loadgroup --reruns 1 --junit-xml=pytest_results.xml + pytest -m 'smoke' -n 4 --dist=loadgroup --reruns 1 --junit-xml=pytest_results.xml - name: Test Report if: always() diff --git a/README.md b/README.md index eaf4d05ae9..c915017505 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,24 @@ pre-commit install pytest ``` -## CI +## CI - Test runs via github actions - [Allure Test Reports](https://waku-org.github.io/waku-interop-tests/3/) are published via github pages + +## CI NWAKU job + +To update tests in PRs at nwaku repo following steps shall be done + + - Make a tag at the desired commit on master with these 2 commands + - git tag tagname + - git push origin tagname + - Navigate to test_PR_image.yml file and modify job "tests" to explicilty use the tag in ref section + + ![Screenshot from 2024-12-24 16-24-51](https://github.com/user-attachments/assets/dd3f95bd-fe79-475b-92b7-891d82346382) + + ## License Licensed and distributed under either of