Skip to content

Commit

Permalink
Allure testops (#39)
Browse files Browse the repository at this point in the history
* update for allure testops

* update id

* Update .github/workflows/check_networks.yml

---------

Co-authored-by: Fedor Kiselev <[email protected]>
Co-authored-by: Stepan Lavrentev <[email protected]>
  • Loading branch information
3 people authored Jan 9, 2025
1 parent 8651a6e commit 38d405b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/check_networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,25 @@ on:
schedule:
- cron: '0 9,15 * * *' # Run at 09:00 and 15:00 every day
workflow_dispatch:
inputs:
ALLURE_JOB_RUN_ID:
type: string
description: ALLURE_JOB_RUN_ID service parameter. Leave blank.
required: false
ALLURE_USERNAME:
type: string
description: ALLURE_USERNAME service parameter. Leave blank.
required: false
pull_request:

env:
TEST_RE_RUNS: 2
TEST_RE_RUNS_DELAY: 15
ALLURE_ENDPOINT: https://nova.testops.cloud/
ALLURE_PROJECT_ID: 136
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
ALLURE_JOB_RUN_ID: ${{ github.event.inputs.ALLURE_JOB_RUN_ID }}
ALLURE_RESULTS: allure-results

permissions:
contents: write
Expand All @@ -34,7 +48,7 @@ jobs:
"test-calls-availability",
"test-subquery-synced"
]


steps:
- uses: actions/checkout@v4
Expand All @@ -60,10 +74,13 @@ jobs:
cd ./nova-utils
make init
- name: Install allurectl
uses: allure-framework/setup-allurectl@v1

- name: Run test
run: |
cd ./nova-utils
make ${{ matrix.test_path }}
allurectl watch -- make ${{ matrix.test_path }}
- name: Tar files
if: always()
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
.vscode
.venv
.venv
.idea

0 comments on commit 38d405b

Please sign in to comment.