diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 640ed3f..d2acc46 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -11,35 +11,35 @@ on: jobs: test: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./oxen steps: - uses: actions/checkout@v3 - + + - uses: robinraju/release-downloader@v1.8 + 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/release-downloader@v1.8 - 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