Skip to content

Commit

Permalink
Check token tests
Browse files Browse the repository at this point in the history
Signed-off-by: MaxGelbakhiani <[email protected]>
  • Loading branch information
MaxGelbakhiani committed Feb 21, 2024
1 parent 06635c7 commit 429de50
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 263 deletions.
123 changes: 0 additions & 123 deletions .github/workflows/build.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/changelog.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/config-update.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/dco.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/go.yml

This file was deleted.

18 changes: 7 additions & 11 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Checkout neofs-testcases repository
uses: actions/checkout@v4
with:
repository: nspcc-dev/neofs-testcases
repository: MaxGelbakhiani/neofs-testcases
ref: 'master'
path: neofs-testcases

Expand Down Expand Up @@ -206,24 +206,20 @@ jobs:
working-directory: neofs-dev-env

################################################################
- name: Run Sanity tests for pull requests
timeout-minutes: 120
if: github.event_name == 'pull_request'
env:
ALLURE_RESULTS_DIR: ${{ env.ALLURE_RESULTS_DIR }}
run: |
source venv.local-pytest/bin/activate && pytest --show-capture=no -m "sanity" --alluredir="$ALLURE_RESULTS_DIR" pytest_tests/testsuites
working-directory: neofs-testcases


- name: Run all tests for other events
timeout-minutes: 480
if: github.event_name != 'pull_request'
env:
ALLURE_RESULTS_DIR: ${{ env.ALLURE_RESULTS_DIR }}
run: |
source venv.local-pytest/bin/activate && pytest --alluredir="$ALLURE_RESULTS_DIR" pytest_tests/testsuites
source venv.local-pytest/bin/activate && pytest --alluredir="$ALLURE_RESULTS_DIR" pytest_tests/testsuites/session_token/test_static_session_token_container.py::TestSessionTokenContainer::test_not_trusted_party_user_can_not_delete_container
working-directory: neofs-testcases

- name: tmate session
if: always()
uses: mxschmitt/action-tmate@v3

- name: Publish to NeoFS
id: put_report
if: always() && steps.prepare_test_env.outcome == 'success'
Expand Down

0 comments on commit 429de50

Please sign in to comment.