Skip to content

Commit

Permalink
Merge pull request #1 from vvarg229/master
Browse files Browse the repository at this point in the history
First version
  • Loading branch information
roman-khimov authored Nov 3, 2023
2 parents 27f4a06 + cde91c5 commit 63f8471
Show file tree
Hide file tree
Showing 146 changed files with 1,937 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @vvarg229
129 changes: 129 additions & 0 deletions .github/logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
129 changes: 129 additions & 0 deletions .github/logo_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: DCO check

on:
pull_request:
branches:
- master
- develop

jobs:
dco:
uses: nspcc-dev/.github/.github/workflows/dco.yml@master
59 changes: 59 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Run automated tests

on:
push:
branches:
- master
pull_request:
branches:
- master
- support/**
types: [opened, synchronize]
paths-ignore:
- '**/*.md'
release:
types:
- published
workflow_dispatch:

permissions: write-all

jobs:
run_system_tests:
runs-on: ubuntu-latest
timeout-minutes: 500
steps:
- name: Checkout gh-push-allure-report-to-neofs
uses: actions/checkout@v4

- name: Run gh-push-allure-report-to-neofs
id: gh_push_allure_report_to_neofs
uses: ./
with:
NEOFS_WALLET: ${{ secrets.NEOFS_WALLET }}
NEOFS_WALLET_PASSWORD: ${{ secrets.NEOFS_WALLET_PASSWORD }}
NEOFS_NETWORK_DOMAIN: ${{ vars.NEOFS_NETWORK_DOMAIN }}
NEOFS_HTTP_GATE: ${{ vars.NEOFS_HTTP_GATE }}
STORE_OBJECTS_CID: ${{ vars.STORE_OBJECTS_CID }}
PR_LIFETIME: ${{ vars.PR_LIFETIME }}
MASTER_LIFETIME: ${{ vars.MASTER_LIFETIME }}
MANUAL_RUN_LIFETIME: ${{ vars.MANUAL_RUN_LIFETIME }}
OTHER_LIFETIME: ${{ vars.OTHER_LIFETIME }}
ALLURE_RESULTS_DIR: './tests/test_delete_metadata'
ALLURE_GENERATED_DIR: './tests/neofs-test-allure-generated-report'

- name: Prepare venv
shell: bash
id: prepare_venv
run: |
python3 -m venv venv
source venv/bin/activate && pip install -r requirements.txt
working-directory: ./tests

- name: Run tests
env:
REPORT_NEOFS_URL: ${{ steps.gh_push_allure_report_to_neofs.outputs.REPORT_NEOFS_URL }}
COMBINED_REPORT_DIR: ${{ steps.gh_push_allure_report_to_neofs.outputs.COMBINED_REPORT_DIR }}
run: |
source venv/bin/activate && pytest test_downloads.py --base_url="$REPORT_NEOFS_URL" --report_dir="$COMBINED_REPORT_DIR"
working-directory: ./tests
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# ignore IDE files
.vscode
.idea

.DS_Store


# ignore test results
**/log.html
**/output.xml
**/report.html
**/dockerlogs*.tar.gz
allure_results/*
xunit_results.xml

# ignore caches under any path
**/__pycache__
**/.pytest_cache

# ignore work directories and setup files
.setup
.env
TemporaryDir/*
artifacts/*
docs/*
venv.*/*
/tests/venv
/*wallet_config.yml
Loading

0 comments on commit 63f8471

Please sign in to comment.