Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github: add timeout for individual tests + bump dependencies #890

Merged
merged 2 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:

- name: Download neofs-cli
if: ${{ inputs.neofs_node_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
roman-khimov marked this conversation as resolved.
Show resolved Hide resolved
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/${{ inputs.neofs_node_tag }}'
Expand All @@ -189,7 +189,7 @@ jobs:

- name: Download neofs-adm
if: ${{ inputs.neofs_node_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/${{ inputs.neofs_node_tag }}'
Expand All @@ -198,7 +198,7 @@ jobs:

- name: Download neofs-ir
if: ${{ inputs.neofs_node_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/${{ inputs.neofs_node_tag }}'
Expand All @@ -207,7 +207,7 @@ jobs:

- name: Download neofs-lens
if: ${{ inputs.neofs_node_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/${{ inputs.neofs_node_tag }}'
Expand All @@ -216,7 +216,7 @@ jobs:

- name: Download neofs-node
if: ${{ inputs.neofs_node_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/${{ inputs.neofs_node_tag }}'
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:

- name: Download neofs-s3-gw
if: ${{ inputs.neofs_s3_gw_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: 'nspcc-dev/neofs-s3-gw'
version: 'tags/${{ inputs.neofs_s3_gw_tag }}'
Expand All @@ -267,7 +267,7 @@ jobs:

- name: Download neofs-s3-authmate
if: ${{ inputs.neofs_s3_gw_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: 'nspcc-dev/neofs-s3-gw'
version: 'tags/${{ inputs.neofs_s3_gw_tag }}'
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:

- name: Download neofs-rest-gw
if: ${{ inputs.neofs_rest_gw_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: 'nspcc-dev/neofs-rest-gw'
version: 'tags/${{ inputs.neofs_rest_gw_tag }}'
Expand All @@ -320,7 +320,7 @@ jobs:

- name: Download neo-go
if: ${{ inputs.neo_go_tag != 'from_tests' }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
uses: dsaltares/fetch-gh-release-asset@1.1.2
with:
repo: 'nspcc-dev/neo-go'
version: 'tags/${{ inputs.neo_go_tag }}'
Expand All @@ -346,7 +346,7 @@ jobs:
env:
ALLURE_RESULTS_DIR: ${{ env.ALLURE_RESULTS_DIR }}
run: |
source venv.pytest/bin/activate && pytest -n ${{ inputs.tests_parallel_level }} --show-capture=no -m "${{ inputs.marks }}" --alluredir=${GITHUB_WORKSPACE}/allure-results ${{ inputs.tests_path }}
source venv.pytest/bin/activate && pytest --timeout=720 -n ${{ inputs.tests_parallel_level }} --show-capture=no -m "${{ inputs.marks }}" --alluredir=${GITHUB_WORKSPACE}/allure-results ${{ inputs.tests_path }}
working-directory: neofs-testcases

- name: Publish to NeoFS
Expand All @@ -372,7 +372,7 @@ jobs:
if: always() && steps.put_report.outcome == 'success'
env:
REPORT_NEOFS_URL: ${{ steps.put_report.outputs.REPORT_NEOFS_URL }}index.html
uses: Sibz/github-status-action@v1
uses: guibranco/github-status-action-v2@v1.1.13
roman-khimov marked this conversation as resolved.
Show resolved Hide resolved
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
context: 'Test report ${{ matrix.runner }}'
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ requests==2.32.3
tenacity==9.0.0
ruff==0.6.8
urllib3==2.2.3
pytest-xdist==3.6.1
pytest-xdist==3.6.1
pytest-timeout==2.3.1
Loading