Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
remade committed Nov 27, 2024
1 parent 47a28a1 commit 6d930b5
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Download and install surrealdb
run: curl -sSf https://install.surrealdb.com | sh

- name: Start surrealdb
run: surreal start memory -u root -p root --log trace
- uses: addnab/docker-run-action@v3
with:
image: surrealdb/surrealdb:${{ matrix.surrealdb-version }}
options: >-
--health-cmd is-ready
--health-interval 10s
--health-timeout 5s
--health-retries 3
-p 8000:8000
run: surreal start memory -u root -p root --log trac
# - name: Download and install surrealdb
# run: curl -sSf https://install.surrealdb.com | sh
#
# - name: Start surrealdb
# run: surreal start memory -u root -p root --log trace

- name: Install dependencies
run: pip install -r requirements.txt
Expand All @@ -35,16 +45,5 @@ jobs:
SURREALDB_URL: "http://localhost:8000"
run: python -m unittest discover -s tests

# - uses: actions/checkout@v3
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# - name: Build for tests
# run: |
# python tests/scripts/local_build_ci.py
# pip install docker
# pip install requests
# - name: Run Tests
# run: sh scripts/run_tests.sh


0 comments on commit 6d930b5

Please sign in to comment.