Skip to content

Commit 6949f95

Browse files
committed
Merge branch 'master' into bugs-in-db
2 parents 006b632 + 21ebf4e commit 6949f95

153 files changed

Lines changed: 16883 additions & 660 deletions

File tree

Some content is hidden

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

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,47 @@ jobs:
405405
CI_env: GithubAction
406406

407407

408+
python-bb-e2e:
409+
strategy:
410+
fail-fast: false
411+
matrix:
412+
os: [windows-latest, macos-latest]
413+
runs-on: ${{ matrix.os }}
414+
needs: setup
415+
if: needs.setup.outputs.debug == 'false'
416+
steps:
417+
- uses: actions/checkout@v6
418+
- name: Setup JDK ${{env.build-jdk}}
419+
uses: actions/setup-java@v5
420+
with:
421+
distribution: ${{env.java-distribution}}
422+
java-version: ${{env.build-jdk}}
423+
- name: Setup Python
424+
uses: actions/setup-python@v6
425+
with:
426+
python-version: '3.10'
427+
- name: Setup Node
428+
uses: actions/setup-node@v4
429+
with:
430+
node-version: '20'
431+
- name: Cache Maven packages
432+
uses: actions/cache@v5
433+
with:
434+
path: ~/.m2
435+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
436+
restore-keys: ${{ runner.os }}-m2
437+
- name: Build with Maven
438+
run: mvn clean install -DskipTests
439+
env:
440+
CI_env: GithubAction
441+
- name: Run Python/Django BB E2E tests
442+
# important that what we run here does not use Docker
443+
working-directory: core-tests/e2e-tests/python-rest-bb
444+
run: mvn clean verify --fae
445+
env:
446+
CI_env: GithubAction
447+
448+
408449
tests:
409450
runs-on: ubuntu-latest
410451
needs: full-build-base

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,16 @@ Migrations/
130130
/core-tests/e2e-tests/spring/spring-rest-bb/javascript/generated/
131131
/core-tests/e2e-tests/spring/spring-rest-bb/python/generated/
132132

133+
/core-tests/e2e-tests/python-rest-bb/target/
134+
/core-tests/e2e-tests/python-rest-bb/python/generated/
135+
/core-tests/e2e-tests/python-rest-bb/maven/src/
136+
/core-tests/e2e-tests/python-rest-bb/maven/target/
137+
/core-tests/e2e-tests/python-rest-bb/javascript/node_modules/
138+
/core-tests/e2e-tests/python-rest-bb/javascript/generated/
139+
/core-tests/e2e-tests/python-rest-bb/sut/django/db.sqlite3
140+
/core-tests/e2e-tests/python-rest-bb/sut/django/.venv/
141+
/core-tests/e2e-tests/python-rest-bb/sut/django/**/__pycache__/
142+
133143
/client-java/test-utils-java/target/
134144

135145
/test-utils/test-utils-py/target/

client-java/controller/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@
122122
<groupId>com.github.jsqlparser</groupId>
123123
<artifactId>jsqlparser</artifactId>
124124
</dependency>
125+
<dependency>
126+
<groupId>org.antlr</groupId>
127+
<artifactId>antlr4-runtime</artifactId>
128+
</dependency>
125129
<dependency>
126130
<groupId>org.junit.jupiter</groupId>
127131
<artifactId>junit-jupiter-engine</artifactId>
@@ -346,12 +350,22 @@
346350
<pattern>net.sf.jsqlparser</pattern>
347351
<shadedPattern>shaded.net.sf.jsqlparser</shadedPattern>
348352
</relocation>
353+
<relocation>
354+
<pattern>org.antlr</pattern>
355+
<shadedPattern>shaded.org.antlr</shadedPattern>
356+
</relocation>
349357
</relocations>
350358
</configuration>
351359
</execution>
352360
</executions>
353361
</plugin>
354362

363+
<!-- Generates the Cypher parser from the Neo4j Cypher25 grammar -->
364+
<plugin>
365+
<groupId>org.antlr</groupId>
366+
<artifactId>antlr4-maven-plugin</artifactId>
367+
</plugin>
368+
355369
</plugins>
356370
</build>
357371

0 commit comments

Comments
 (0)