Skip to content

Commit

Permalink
try fix install oxen server
Browse files Browse the repository at this point in the history
  • Loading branch information
gschoeni committed Dec 17, 2024
1 parent ffc8dae commit 448e233
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ on:
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./oxen

steps:
- uses: actions/checkout@v3


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

- name: Install oxen-server
run: |
sudo dpkg -i $GITHUB_WORKSPACE/oxen-server/oxen-server-ubuntu-22.04.deb
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies

- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install maturin
pip install pytest
pip install -e .
- uses: robinraju/[email protected]
with:
repository: "Oxen-AI/Oxen"
latest: true
fileName: "oxen-server-ubuntu-22.04.deb"
out-file-path: "oxen-server"

- name: Run Tests
run: |
sudo dpkg -i oxen-server/oxen-server-ubuntu-22.04.deb
oxen-server start &
pytest -s tests
Expand Down

0 comments on commit 448e233

Please sign in to comment.