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
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ jobs:
strategy:
matrix:
ruby:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
- "jruby-9.3"
- "jruby-9.4"
- "truffleruby-22"
- "truffleruby"
steps:
- uses: actions/checkout@v2
- name: Run tests with Ruby ${{ matrix.ruby }}
run: docker-compose run ci-${{ matrix.ruby }}
run: docker compose run ci-${{ matrix.ruby }}
36 changes: 10 additions & 26 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.8"

networks:
integration_test_network:

Expand All @@ -24,22 +22,8 @@ services:
volumes:
- ./test/fixtures/ldif:/ldif:ro

ci-2.6:
image: ruby:2.7
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
INTEGRATION_HOST: ldap.example.org
depends_on:
- openldap
networks:
integration_test_network:
volumes:
- .:/code
working_dir: /code

ci-2.7:
image: ruby:2.7
ci-3.0:
image: ruby:3.0
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
Expand All @@ -52,8 +36,8 @@ services:
- .:/code
working_dir: /code

ci-3.0:
image: ruby:3.0
ci-3.1:
image: ruby:3.1
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
Expand All @@ -66,8 +50,8 @@ services:
- .:/code
working_dir: /code

ci-3.1:
image: ruby:3.1
ci-3.2:
image: ruby:3.2
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
Expand All @@ -80,8 +64,8 @@ services:
- .:/code
working_dir: /code

ci-3.2:
image: ruby:3.2
ci-3.3:
image: ruby:3.3
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
Expand All @@ -95,8 +79,8 @@ services:
working_dir: /code

# https://github.com/flavorjones/truffleruby/pkgs/container/truffleruby
ci-truffleruby-22:
image: ghcr.io/flavorjones/truffleruby:22.3.1
ci-truffleruby:
image: ghcr.io/flavorjones/truffleruby:stable
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
Expand Down
Loading