Skip to content
Merged
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
19 changes: 19 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ permissions:
# setting permissions, we ensure it has no unnecessary access.
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-check:
name: Build and check
Expand Down Expand Up @@ -37,6 +41,18 @@ jobs:
annotation/build/libs/*.jar

test-suite:
services:
oracle:
image: docker.io/gvenzl/oracle-free:slim-faststart
ports:
- 1521:1521
env:
ORACLE_PASSWORD: oracle
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
java: ['21', '17', '11', '8']
Expand Down Expand Up @@ -115,5 +131,8 @@ jobs:
# Github token is just to avoid rate limiting when IntelliJ tests
# are run and download the AppMap service binaries
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORACLE_URL: jdbc:oracle:thin:@localhost:1521
ORACLE_USERNAME: system
ORACLE_PASSWORD: oracle
working-directory: ./agent
run: bin/test_run
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ tmp

# test output
/.metadata/

# Log files
*.log
Loading