-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into gh-167-qaurt-review-response-route
Signed-off-by: Paul Unger <44368989+MyStackOverflows@users.noreply.github.com>
- Loading branch information
Showing
19 changed files
with
369 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Video Processing Server Lint | ||
|
||
concurrency: | ||
group: ${{ github.run_id }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- "develop" | ||
- "master" | ||
- "main" | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repository | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ github.token }} | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
cache: 'pip' | ||
cache-dependency-path: "**/requirements*.txt" | ||
- name: Install dependencies | ||
run: | | ||
pip install -r app/video-processing/requirements.txt -r app/video-processing/requirements_dev.txt | ||
- name: Run tests | ||
run: cd app/video-processing/ && make lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,6 @@ Makefile | |
**/*.png | ||
test-samples/ | ||
*-videos/ | ||
|
||
# Test | ||
test_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
flake8==6.1.0 | ||
pytest==7.4.3 | ||
pytest-asyncio==0.21.1 | ||
pytest-env==1.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[flake8] | ||
ignore = D203 | ||
max-line-length = 200 | ||
exclude = | ||
__pycache__ | ||
|
||
[tool:pytest] | ||
testpaths = . | ||
env = | ||
PRIVACYPAL_INPUT_VIDEO_DIR={PWD}/samples | ||
PRIVACYPAL_OUTPUT_VIDEO_DIR={PWD}/samples | ||
AWS_ACCESS_KEY_ID=some-key-id | ||
AWS_SECRET_ACCESS_KEY=some-access-key | ||
AWS_SESSION_TOKEN=some-session-token | ||
AWS_DEFAULT_REGION=ca-central-1 | ||
PRIVACYPAL_IS_STATELESS=false | ||
ENVIRONMENT=testing | ||
log_cli = true | ||
log_cli_level = INFO | ||
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)" | ||
log_cli_date_format = "%Y-%m-%d %H:%M:%S |
Oops, something went wrong.