Skip to content

Commit

Permalink
Use JDK 17 in CI
Browse files Browse the repository at this point in the history
Required by ECF in Karaf
  • Loading branch information
tcalmant committed Aug 22, 2024
1 parent b26f4ca commit 5b268f1
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,29 @@ jobs:
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Use JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
- name: Run unit tests
- name: Start test infrastructure
run: |
find tests-infra -name compose.yaml -exec docker compose -f {} up -d \;
- name: Run unit tests
run: |
python -m pytest tests

0 comments on commit 5b268f1

Please sign in to comment.