diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 00000000..34727412 --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,58 @@ +name: Python + +on: + push: + branches: + - main + pull_request: + paths: + - python/** + - .github/workflows/python.yml +jobs: + linux: + timeout-minutes: 30 + strategy: + matrix: + python-minor-version: [ "8", "9", "10", "11" ] + runs-on: "ubuntu-22.04" + defaults: + run: + shell: bash + working-directory: python + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + lfs: true + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.${{ matrix.python-minor-version }} + - name: Install lancedb + run: | + pip install -e . + pip install pytest + - name: Run tests + run: pytest -x -v --durations=30 python/tests + mac: + timeout-minutes: 30 + runs-on: "macos-12" + defaults: + run: + shell: bash + working-directory: python + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + lfs: true + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.10" + - name: Install lancedb + run: | + pip install -e . + pip install pytest + - name: Run tests + run: pytest -x -v --durations=30 python/tests \ No newline at end of file diff --git a/js/package.json b/js/package.json deleted file mode 100644 index 26b93f99..00000000 --- a/js/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "lancedb", - "version": "0.0.1", - "author": "lance devs ", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/eto-ai/lancedb.git" - }, - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/eto-ai/lancedb/issues" - }, - "homepage": "https://github.com/eto-ai/lancedb#readme", - "description": "" -} diff --git a/rust/Cargo.toml b/rust/Cargo.toml deleted file mode 100644 index 8acc1b55..00000000 --- a/rust/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "lancedb" -version = "0.0.1" -authors = ["Lance Developers"] -autobins = false -description = "Lance DB" -license-file = "../LICENSE" \ No newline at end of file diff --git a/rust/src/lib.rs b/rust/src/lib.rs deleted file mode 100644 index e69de29b..00000000