Skip to content

Commit

Permalink
Added test code workflow
Browse files Browse the repository at this point in the history
Signed-off-by: JonahSussman <sussmanjonah@gmail.com>
  • Loading branch information
JonahSussman committed Jul 21, 2024
1 parent 76d8d62 commit 42c3e5c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test Code
on: [pull_request]
jobs:
test_code:
name: Test Code Runner
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Test Code
run: |
pip install -r requirements.txt
pip install -e .
python -m unittest
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ scipy==1.12.0
Send2Trash==1.8.2
sentence-transformers==2.2.2
sentencepiece==0.2.0
sequoia_diff @ git+https://github.com/JonahSussman/sequoia-diff@d63ab543dbe075d2e74d57e6b9f13064c1c5d8af
# sequoia_diff @ git+https://github.com/JonahSussman/sequoia-diff@d63ab543dbe075d2e74d57e6b9f13064c1c5d8af
sequoia_diff==0.0.1
setuptools==70.3.0; sys_platform == 'darwin'
six==1.16.0
smmap==5.0.1
Expand Down

0 comments on commit 42c3e5c

Please sign in to comment.