Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bc1eab7
fix: package.json & package-lock.json to reduce vulnerabilities
snyk-bot Jan 21, 2026
b3cac4c
Merge pull request #2 from piyyy314/snyk-fix-1b2ed9bfa3d3824276f3c9ac…
piyyy314 Jan 22, 2026
ed66e24
fix: package.json & package-lock.json to reduce vulnerabilities
snyk-bot Jan 22, 2026
227aba4
fix: src/adaptors/package.json & src/adaptors/package-lock.json to re…
snyk-bot Jan 22, 2026
d1fb29c
Merge pull request #5 from piyyy314/snyk-fix-1e4bd44416415f9bf7cae756…
piyyy314 Jan 22, 2026
d3a1b9d
Merge pull request #3 from piyyy314/snyk-fix-ba7d026be739dda9fc0deebc…
piyyy314 Jan 22, 2026
f5989d2
fix: src/adaptors/package.json & src/adaptors/package-lock.json to re…
snyk-bot Jan 26, 2026
0f7aea4
fix: package.json & package-lock.json to reduce vulnerabilities
snyk-bot Jan 26, 2026
16099a0
Add environment.yml file with dependencies
piyyy314 Apr 11, 2026
aeb3482
Add GitHub Actions workflow for Python package publishing
piyyy314 Apr 11, 2026
51c81c4
fix: package.json & package-lock.json to reduce vulnerabilities (#13)
piyyy314 Apr 13, 2026
64008ca
CodeRabbit Generated Unit Tests: Add generated unit tests (#17)
coderabbitai[bot] Apr 13, 2026
e492d80
fix: package.json & package-lock.json to reduce vulnerabilities
snyk-bot Apr 11, 2026
94f99e3
fix: src/adaptors/package.json & src/adaptors/package-lock.json to re…
piyyy314 Apr 13, 2026
26e92b9
Fix invalid JSON in package-lock.json and patch axios/lodash vulnerab…
Copilot Apr 14, 2026
76e98e2
CodeRabbit Generated Unit Tests: Add unit tests for PR changes (#18)
coderabbitai[bot] Apr 14, 2026
bc65c82
CodeRabbit Generated Unit Tests: Add unit tests for PR changes (#22)
coderabbitai[bot] Apr 14, 2026
64484f9
Initial plan
Copilot Apr 17, 2026
4e9199d
Fix CI: add environment.yml with proper conda format and python-packa…
Copilot Apr 17, 2026
27489f6
Remove redundant conda installs and add permissions to workflow
Copilot Apr 17, 2026
c1c4563
Apply review feedback: delete python-publish.yml, fix workflow trigge…
Copilot Apr 17, 2026
e27c3ec
Add smoke test and conda CI workflow to fix pytest exit code 5 (#26)
Copilot Apr 18, 2026
4f29a49
Initial plan
Copilot Apr 21, 2026
3710ed0
Initial plan
Copilot Apr 21, 2026
276ee65
Update package.json
piyyy314 Apr 21, 2026
b8955f6
Update src/adaptors/package.json
piyyy314 Apr 21, 2026
751dc10
Merge pull request #28 from piyyy314/copilot/add-minimal-test-file
piyyy314 Apr 26, 2026
2f065f7
Initial plan
Copilot May 2, 2026
438778d
Fix pytest exit code 5: update workflow and add placeholder test
Copilot May 2, 2026
e8a991a
Potential fix for pull request finding
piyyy314 May 2, 2026
38c2f31
Revert exit-code-5 workaround and remove redundant placeholder test
Copilot May 2, 2026
f7427f5
Merge pull request #29 from piyyy314/copilot/fix-python-package-conda…
piyyy314 May 2, 2026
d60a1f6
Merge branch 'master' into copilot/add-environment-yml-file
piyyy314 May 2, 2026
fd14553
Merge pull request #27 from piyyy314/copilot/add-environment-yml-file
piyyy314 May 2, 2026
3be5e77
Initial plan
Copilot May 2, 2026
51dfa24
Add tests/test_placeholder.py and tests/__init__.py to fix pytest exi…
Copilot May 2, 2026
32f15d7
Add docstring to test_placeholder explaining its purpose
Copilot May 2, 2026
cd124cd
Merge pull request #30 from piyyy314/copilot/add-placeholder-test-file
piyyy314 Jun 26, 2026
171887d
Create LICENSE
piyyy314 Jun 26, 2026
24c2e3b
Merge pull request #25 from piyyy314/copilot/fix-github-actions-job-7…
piyyy314 Jul 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Python Package using Conda

on:
push:
pull_request:

jobs:
build-linux:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
- name: Lint with flake8
Comment thread
piyyy314 marked this conversation as resolved.
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.DS_Store
node_modules
.pytest_cache/
__pycache__/
ccImages
*.env
.vscode/
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 piyyy314

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
11 changes: 11 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: pitty313-yield-server
channels:
- conda-forge
- defaults
dependencies:
- python=3.10
- pip
- numpy
- pandas
- flake8
- pytest
9 changes: 9 additions & 0 deletions jest.infrastructure.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Jest configuration for infrastructure tests.
// These tests verify repository structure and dependency versions after the PR
// that removed python-publish.yml, environment.yml, and updated package versions.
// No adapter-specific globalSetup/globalTeardown is needed here.
module.exports = {
testMatch: ['**/src/tests/infrastructure.test.js'],
globalSetup: undefined,
globalTeardown: undefined,
};
Loading