diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f0340c9..7490d8c9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,10 +20,10 @@ jobs: matrix: ruby: - "2.5" - #- "2.6" - #- "2.7" - #- "jruby-9.2" + - "2.6" + - "2.7" + - "jruby-9.2" steps: - uses: actions/checkout@v2 - name: Run tests with Ruby ${{ matrix.ruby }} - run: docker-compose run ci-ruby-${{ matrix.ruby }} + run: docker-compose run ci-${{ matrix.ruby }} diff --git a/docker-compose.yml b/docker-compose.yml index ebbbc36b..f8cce189 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: volumes: - ./test/fixtures/ldif:/ldif:ro - ci-ruby-2.5: + ci-2.5: image: ruby:2.5 entrypoint: /code/ci-run.sh environment: @@ -37,3 +37,45 @@ services: volumes: - .:/code working_dir: /code + + 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 + 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-jruby-9.2: + image: jruby:9.2 + 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