Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,47 @@ jobs:
CI_env: GithubAction


python-bb-e2e:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
needs: setup
if: needs.setup.outputs.debug == 'false'
steps:
- uses: actions/checkout@v6
- name: Setup JDK ${{env.build-jdk}}
uses: actions/setup-java@v5
with:
distribution: ${{env.java-distribution}}
java-version: ${{env.build-jdk}}
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Cache Maven packages
uses: actions/cache@v5
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn clean install -DskipTests
env:
CI_env: GithubAction
- name: Run Python/Django BB E2E tests
# important that what we run here does not use Docker
working-directory: core-tests/e2e-tests/python-rest-bb
run: mvn clean verify --fae
env:
CI_env: GithubAction


tests:
runs-on: ubuntu-latest
needs: full-build-base
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,16 @@ Migrations/
/core-tests/e2e-tests/spring/spring-rest-bb/javascript/generated/
/core-tests/e2e-tests/spring/spring-rest-bb/python/generated/

/core-tests/e2e-tests/python-rest-bb/target/
/core-tests/e2e-tests/python-rest-bb/python/generated/
/core-tests/e2e-tests/python-rest-bb/maven/src/
/core-tests/e2e-tests/python-rest-bb/maven/target/
/core-tests/e2e-tests/python-rest-bb/javascript/node_modules/
/core-tests/e2e-tests/python-rest-bb/javascript/generated/
/core-tests/e2e-tests/python-rest-bb/sut/django/db.sqlite3
/core-tests/e2e-tests/python-rest-bb/sut/django/.venv/
/core-tests/e2e-tests/python-rest-bb/sut/django/**/__pycache__/

/client-java/test-utils-java/target/

/test-utils/test-utils-py/target/
Expand Down
1 change: 1 addition & 0 deletions core-tests/e2e-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<module>dropwizard-examples</module>
<module>micronaut-latest</module>
<module>spring</module>
<module>python-rest-bb</module>
</modules>


Expand Down
Loading
Loading