├── .flake8 ├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── conventional-pr.yml │ ├── python.yml │ └── towncrier-changelog.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .python-version ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CONTRIBUTORS.md ├── LICENSE ├── Makefile ├── README.md ├── changes └── .gitkeep ├── charts └── substra-tests │ ├── .helmignore │ ├── Chart.yaml │ ├── templates │ ├── _helpers.tpl │ └── deployment.yaml │ └── values.yaml ├── ci └── cloudbuild │ └── substra_tools.yaml ├── docker └── substra-tests │ └── Dockerfile ├── keys └── connect-314908-3902714646d9.json.gpg ├── local-backend-values.yaml ├── pyproject.toml ├── pytest_skipuntil.py ├── requirements-workflows.txt ├── requirements.txt ├── skaffold.yaml ├── substratest ├── __init__.py ├── assets.py ├── channel.py ├── client.py ├── errors.py ├── factory.py ├── fl_interface.py ├── settings.py └── utils.py ├── tests ├── __init__.py ├── conftest.py ├── lazy_fixture.py ├── test_data_samples_order.py ├── test_docker_image_build.py ├── test_execution.py ├── test_execution_compute_plan.py ├── test_filters.py ├── test_gpu.py ├── test_hybrid_mode.py ├── test_network.py ├── test_permissions.py ├── test_synchronized.py └── workflows │ ├── README.md │ ├── __init__.py │ └── mnist-fedavg │ ├── .gitignore │ ├── __init__.py │ ├── assets │ ├── aggregate_function.py │ ├── composite_function.py │ ├── metrics.py │ └── opener.py │ └── test_workflow.py ├── values-single-organization.yaml └── values.yaml /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @Substra/code-owners 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/conventional-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/.github/workflows/conventional-pr.yml -------------------------------------------------------------------------------- /.github/workflows/python.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/.github/workflows/python.yml -------------------------------------------------------------------------------- /.github/workflows/towncrier-changelog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/.github/workflows/towncrier-changelog.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.8 -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/CONTRIBUTORS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/README.md -------------------------------------------------------------------------------- /changes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /charts/substra-tests/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/charts/substra-tests/.helmignore -------------------------------------------------------------------------------- /charts/substra-tests/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/charts/substra-tests/Chart.yaml -------------------------------------------------------------------------------- /charts/substra-tests/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/charts/substra-tests/templates/_helpers.tpl -------------------------------------------------------------------------------- /charts/substra-tests/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/charts/substra-tests/templates/deployment.yaml -------------------------------------------------------------------------------- /charts/substra-tests/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/charts/substra-tests/values.yaml -------------------------------------------------------------------------------- /ci/cloudbuild/substra_tools.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/ci/cloudbuild/substra_tools.yaml -------------------------------------------------------------------------------- /docker/substra-tests/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/docker/substra-tests/Dockerfile -------------------------------------------------------------------------------- /keys/connect-314908-3902714646d9.json.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/keys/connect-314908-3902714646d9.json.gpg -------------------------------------------------------------------------------- /local-backend-values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/local-backend-values.yaml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest_skipuntil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/pytest_skipuntil.py -------------------------------------------------------------------------------- /requirements-workflows.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/requirements-workflows.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/requirements.txt -------------------------------------------------------------------------------- /skaffold.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/skaffold.yaml -------------------------------------------------------------------------------- /substratest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/__init__.py -------------------------------------------------------------------------------- /substratest/assets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/assets.py -------------------------------------------------------------------------------- /substratest/channel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/channel.py -------------------------------------------------------------------------------- /substratest/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/client.py -------------------------------------------------------------------------------- /substratest/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/errors.py -------------------------------------------------------------------------------- /substratest/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/factory.py -------------------------------------------------------------------------------- /substratest/fl_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/fl_interface.py -------------------------------------------------------------------------------- /substratest/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/settings.py -------------------------------------------------------------------------------- /substratest/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/substratest/utils.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/lazy_fixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/lazy_fixture.py -------------------------------------------------------------------------------- /tests/test_data_samples_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_data_samples_order.py -------------------------------------------------------------------------------- /tests/test_docker_image_build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_docker_image_build.py -------------------------------------------------------------------------------- /tests/test_execution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_execution.py -------------------------------------------------------------------------------- /tests/test_execution_compute_plan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_execution_compute_plan.py -------------------------------------------------------------------------------- /tests/test_filters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_filters.py -------------------------------------------------------------------------------- /tests/test_gpu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_gpu.py -------------------------------------------------------------------------------- /tests/test_hybrid_mode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_hybrid_mode.py -------------------------------------------------------------------------------- /tests/test_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_network.py -------------------------------------------------------------------------------- /tests/test_permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_permissions.py -------------------------------------------------------------------------------- /tests/test_synchronized.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/test_synchronized.py -------------------------------------------------------------------------------- /tests/workflows/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/workflows/README.md -------------------------------------------------------------------------------- /tests/workflows/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/workflows/mnist-fedavg/.gitignore: -------------------------------------------------------------------------------- 1 | .rawdata 2 | -------------------------------------------------------------------------------- /tests/workflows/mnist-fedavg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/workflows/mnist-fedavg/assets/aggregate_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/workflows/mnist-fedavg/assets/aggregate_function.py -------------------------------------------------------------------------------- /tests/workflows/mnist-fedavg/assets/composite_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/workflows/mnist-fedavg/assets/composite_function.py -------------------------------------------------------------------------------- /tests/workflows/mnist-fedavg/assets/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/workflows/mnist-fedavg/assets/metrics.py -------------------------------------------------------------------------------- /tests/workflows/mnist-fedavg/assets/opener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/workflows/mnist-fedavg/assets/opener.py -------------------------------------------------------------------------------- /tests/workflows/mnist-fedavg/test_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/tests/workflows/mnist-fedavg/test_workflow.py -------------------------------------------------------------------------------- /values-single-organization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/values-single-organization.yaml -------------------------------------------------------------------------------- /values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Substra/substra-tests/HEAD/values.yaml --------------------------------------------------------------------------------