Skip to content

Commit

Permalink
run bearer token tests only on 8027ca
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Gelbakhiani committed Feb 6, 2024
1 parent 8027ca3 commit 1a1dbdf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 139 deletions.
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.

16 changes: 6 additions & 10 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@v3
with:
repository: nspcc-dev/neofs-testcases
repository: MaxGelbakhiani/neofs-testcases
ref: 'master'
path: neofs-testcases

Expand Down Expand Up @@ -206,22 +206,15 @@ 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/acl/test_bearer.py #::TestACLBearer::test_bearer_token_compound_operations
working-directory: neofs-testcases

- name: Publish to NeoFS
Expand Down Expand Up @@ -254,6 +247,9 @@ jobs:
state: 'success'
sha: ${{github.event.pull_request.head.sha || github.sha}}
target_url: ${{ env.REPORT_NEOFS_URL }}

- name: tmate session after test run
uses: mxschmitt/action-tmate@v3

- name: Post only docker logs
id: post_dockers_logs
Expand Down

0 comments on commit 1a1dbdf

Please sign in to comment.