mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-05-20 17:29:31 +00:00
test: re-run with tests
This commit is contained in:
parent
03a0fd0616
commit
cae317a54b
30
.github/workflows/test_common.yml
vendored
30
.github/workflows/test_common.yml
vendored
@ -43,6 +43,34 @@ jobs:
|
|||||||
|
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: pytest -n 4 --reruns 1 --alluredir=allure-results
|
||||||
|
|
||||||
|
- name: Get allure history
|
||||||
|
if: always()
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: gh-pages
|
||||||
|
path: gh-pages
|
||||||
|
|
||||||
|
- name: Setup allure report
|
||||||
|
uses: simple-elf/allure-report-action@master
|
||||||
|
if: always()
|
||||||
|
id: allure-report
|
||||||
|
with:
|
||||||
|
allure_results: allure-results
|
||||||
|
gh_pages: gh-pages
|
||||||
|
allure_history: allure-history
|
||||||
|
keep_reports: 30
|
||||||
|
|
||||||
|
- name: Deploy report to Github Pages
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
if: always()
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_branch: gh-pages
|
||||||
|
publish_dir: allure-history
|
||||||
|
|
||||||
- name: Create job summary
|
- name: Create job summary
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
@ -50,6 +78,8 @@ jobs:
|
|||||||
echo "- **Node1**: ${{ env.NODE_1 }}" >> $GITHUB_STEP_SUMMARY
|
echo "- **Node1**: ${{ env.NODE_1 }}" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- **Node2**: ${{ env.NODE_2 }}" >> $GITHUB_STEP_SUMMARY
|
echo "- **Node2**: ${{ env.NODE_2 }}" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- **Additonal Nodes**: ${{ env.ADDITIONAL_NODES }}" >> $GITHUB_STEP_SUMMARY
|
echo "- **Additonal Nodes**: ${{ env.ADDITIONAL_NODES }}" >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo "## Test Results" >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo "Allure report will be available at: https://waku-org.github.io/waku-interop-tests/${{ github.run_number }}" >> $GITHUB_STEP_SUMMARY
|
||||||
{
|
{
|
||||||
echo 'JOB_SUMMARY<<EOF'
|
echo 'JOB_SUMMARY<<EOF'
|
||||||
cat $GITHUB_STEP_SUMMARY
|
cat $GITHUB_STEP_SUMMARY
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user