Skip to content

Commit ce2990f

Browse files
working rewrite (#146)
1 parent 7badb08 commit ce2990f

File tree

214 files changed

+9459
-5406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+9459
-5406
lines changed

.github/workflows/cross_build.yml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
1-
name: cross-build
1+
# name: cross-build
22

3-
on:
4-
push:
5-
branches:
6-
- improve-and-fix-workflow
7-
# pull_request:
8-
# types: [closed]
9-
# branches:
10-
# - main
3+
# on:
4+
# push:
5+
# branches:
6+
# - improve-and-fix-workflow
7+
# # pull_request:
8+
# # types: [closed]
9+
# # branches:
10+
# # - main
1111

12-
jobs:
13-
wait-for-other-workflow:
14-
name: Wait for Other Workflow
15-
runs-on: ubuntu-latest
16-
steps:
17-
- name: Wait for Other Workflow to Complete
18-
run: "echo 'Waiting for other workflow to complete...'"
12+
# jobs:
13+
# wait-for-other-workflow:
14+
# name: Wait for Other Workflow
15+
# runs-on: ubuntu-latest
16+
# steps:
17+
# - name: Wait for Other Workflow to Complete
18+
# run: "echo 'Waiting for other workflow to complete...'"
1919

20-
build:
21-
if: github.event.pull_request.merged == true
22-
name: Build C release for ${{ matrix.os.name }}
23-
strategy:
24-
matrix:
25-
os:
26-
- name: ubuntu
27-
lib: libsurrealdb_c.so
28-
- name: macos
29-
lib: libsurrealdb_c.dylib
30-
- name: windows
31-
lib: surrealdb_c.dll
32-
runs-on: ${{ format('{0}-latest', matrix.os.name) }}
33-
steps:
34-
- name: Checkout Surreal C lib
35-
uses: actions/checkout@v3
36-
with:
37-
repository: surrealdb/surrealdb.c
20+
# build:
21+
# if: github.event.pull_request.merged == true
22+
# name: Build C release for ${{ matrix.os.name }}
23+
# strategy:
24+
# matrix:
25+
# os:
26+
# - name: ubuntu
27+
# lib: libsurrealdb_c.so
28+
# - name: macos
29+
# lib: libsurrealdb_c.dylib
30+
# - name: windows
31+
# lib: surrealdb_c.dll
32+
# runs-on: ${{ format('{0}-latest', matrix.os.name) }}
33+
# steps:
34+
# - name: Checkout Surreal C lib
35+
# uses: actions/checkout@v3
36+
# with:
37+
# repository: surrealdb/surrealdb.c
3838

39-
- name: Set up Rust
40-
uses: actions-rs/toolchain@v1
41-
with:
42-
toolchain: stable
43-
override: true
39+
# - name: Set up Rust
40+
# uses: actions-rs/toolchain@v1
41+
# with:
42+
# toolchain: stable
43+
# override: true
4444

45-
- name: Build Rust library
46-
run: cargo build --release
45+
# - name: Build Rust library
46+
# run: cargo build --release
4747

48-
- name: Archive library
49-
run: |
50-
mkdir -p dist/${{ matrix.os.name }}
51-
cp target/release/${{ matrix.os.lib }} dist/${{ matrix.os.name }}/${{ matrix.os.lib }}
48+
# - name: Archive library
49+
# run: |
50+
# mkdir -p dist/${{ matrix.os.name }}
51+
# cp target/release/${{ matrix.os.lib }} dist/${{ matrix.os.name }}/${{ matrix.os.lib }}
5252

53-
- name: Upload build artifacts
54-
uses: actions/upload-artifact@v3
55-
with:
56-
name: ${{ matrix.os.name }}-build
57-
path: dist/${{ matrix.os.name }}
53+
# - name: Upload build artifacts
54+
# uses: actions/upload-artifact@v3
55+
# with:
56+
# name: ${{ matrix.os.name }}-build
57+
# path: dist/${{ matrix.os.name }}

.github/workflows/unit_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
18-
surrealdb-version: ["v2.0.0", "v2.1.1", "v2.1.2"] # Issue with v2.1.0
18+
surrealdb-version: ["v2.1.1", "v2.1.2"] # Issue with v2.1.0
1919
name: Run unit test SurrealDB ${{ matrix.surrealdb-version }} - Python Version ${{ matrix.python-version }}
2020
steps:
2121
- name: Checkout repository
@@ -33,7 +33,7 @@ jobs:
3333
- name: Run unit tests
3434
env:
3535
SURREALDB_URL: "http://localhost:8000"
36-
run: python -m unittest discover -s tests
36+
run: export PYTHONPATH="./src" && python -m unittest discover -s tests
3737

3838

3939

Makefile

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)