-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow feat: init pytest workflow
- Loading branch information
Showing
34 changed files
with
131 additions
and
120 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,14 @@ | ||
name: After Success | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["PR Tests"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Confirm Success | ||
run: echo "Previous workflow was successful!" |
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,16 @@ | ||
name: PR Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run a simple test | ||
run: echo "Running tests..." |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ venv | |
.next/ | ||
out/ | ||
|
||
.ruff_cache/ | ||
|
||
# production | ||
build | ||
|
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,25 @@ | ||
## Supabase Budget | ||
|
||
|Resources| Instances | Pricing | | ||
|---------|------|------| | ||
| Supabase | 1 | $0 | ||
|
||
|
||
## Infrastructure Budget | ||
|
||
|Resources| Instances | Pricing | | ||
|---------|------|------| | ||
| EC2 Container Registry (ECR) | | https://aws.amazon.com/cn/ecr/pricing/ | ||
| Route 53 | 1 | $0.53 | ||
| Secrets Manager | 1 | $0.40 | ||
| S3 | Very Few | https://aws.amazon.com/cn/s3/pricing/ | ||
| CloudFront | 2 | $0 | ||
| Lambda | 4 | https://aws.amazon.com/cn/lambda/pricing/ | ||
|
||
|
||
## LLM Budget | ||
|
||
|Resources| Instances | Pricing | | ||
|---------|------|------| | ||
| OpenAI | - | https://openai.com/pricing/ | ||
| Gemini flash | - | $0 |
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 |
---|---|---|
|
@@ -6,11 +6,26 @@ authors = ["raoha.rh <[email protected]>"] | |
readme = "README.md" | ||
packages = [{include = "petercat_utils"}] | ||
|
||
[tool.ruff] | ||
builtins = ["_"] | ||
|
||
[pytest] | ||
testpaths = ["tests"] | ||
pythonpath = "." | ||
consider_namespace_packages = "True" | ||
python_files = "test_*.py" | ||
cov="com" | ||
cov-report=["xml","html"] | ||
md_report = true | ||
md_report_verbose = 0 | ||
md_report_color = "auto" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8" | ||
langchain_community = "^0.2.11" | ||
langchain_openai = "^0.1.20" | ||
langchain_core = "0.2.28" | ||
langchain = "^0.2.12" | ||
supabase = "2.6.0" | ||
pydantic = "2.7.0" | ||
PyGithub = "2.3.0" | ||
|
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 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 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 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 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 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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
[pytest] | ||
testpaths = . | ||
testpaths = tests | ||
rootdir=server | ||
consider_namespace_packages = True | ||
python_files = test_*.py | ||
cov=com | ||
cov-report=xml,html |
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
Empty file.
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 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
Oops, something went wrong.