Skip to content

Commit

Permalink
add config --name step to unit_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gschoeni committed Dec 18, 2024
1 parent 40bf842 commit 2c66a87
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,18 @@ jobs:
latest: true
fileName: "oxen-server-ubuntu-22.04.deb"
out-file-path: "."

- uses: robinraju/[email protected]
with:
repository: "Oxen-AI/Oxen"
latest: true
fileName: "oxen-ubuntu-22.04.deb"
out-file-path: "."

- name: Install oxen-server
run: |
sudo dpkg -i /home/runner/work/oxen-release/oxen-release/oxen-server-ubuntu-22.04.deb
sudo dpkg -i /home/runner/work/oxen-release/oxen-release/oxen-ubuntu-22.04.deb
- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -37,13 +45,12 @@ jobs:
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install maturin
pip install pytest
pip install -e .
pip install -r requirements.txt
- name: Run Tests
run: |
oxen config --name "Bessie Testington" --email "[email protected]"
oxen-server start &
pytest -s tests
Expand Down
2 changes: 2 additions & 0 deletions oxen/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ dependencies = [
"requests",
"toml",
"tqdm",
"torch",
"tensorflow",
]


Expand Down

0 comments on commit 2c66a87

Please sign in to comment.