branch: externals/vecdb
commit ef30f278894e70e055e5fcdea2a10094c4d36db5
Author: Andrew Hyatt <ahy...@gmail.com>
Commit: Andrew Hyatt <ahy...@gmail.com>

    Split into two tests, remove 28, which we don't support
---
 .github/workflows/ci.yaml | 45 +++++++++++++++++++++++++++++----------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 91789b80c1..db48b243c6 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -8,15 +8,39 @@ on:
     branches: [ "*" ]
 
 jobs:
-  tests:
+  simple-tests:
     runs-on: ubuntu-latest
     environment: Continuous Integration
     strategy:
       matrix:
         emacs_version:
-          # Add more lines like this if you want to test on different Emacs 
versions.
-          - 28.1
+          - 29.1
           - 29.4
+    steps:
+    - name: Set up Emacs
+      uses: jcs090218/setup-emacs@master
+      with:
+        version: ${{matrix.emacs_version}}
+
+    - name: Install Eldev
+      uses: emacs-eldev/setup-eldev@v1
+
+    - name: Check out the source code
+      uses: actions/checkout@v4
+
+    - name: Byte-compile the project
+      run: |
+        eldev -dtT compile --warnings-as-errors
+
+    - name: Lint the project
+      run: |
+        eldev -p -dtT lint
+
+    - name: Test the project
+      # We don't set up the env variables so no integration tests will be run
+      run: |
+        eldev -p -dtT test
+  integration-tests:
     services:
       postgres:
         image: pgvector/pgvector:pg16
@@ -37,7 +61,7 @@ jobs:
     - name: Set up Emacs
       uses: jcs090218/setup-emacs@master
       with:
-        version: ${{matrix.emacs_version}}
+        version: 29.4
 
     - name: Install Eldev
       uses: emacs-eldev/setup-eldev@v1
@@ -45,22 +69,11 @@ jobs:
     - name: Check out the source code
       uses: actions/checkout@v4
 
-    - name: Byte-compile the project
-      run: |
-        eldev -dtT compile --warnings-as-errors
-
-    - name: Lint the project
-      run: |
-        eldev -p -dtT lint
-
-    - name: Test the project
-      # We don't set up the env variables so no integration tests will be run
-      run: |
-        eldev -p -dtT test
     - name: Postgres setup
       # Create the "test" database
       run: |
         psql -h localhost -U postgres -c "CREATE DATABASE test;"
+
     - name: Test the project
       env:
         CHROMA_URL: http://localhost:8000

Reply via email to