Skip to content

Commit

Permalink
Update ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
HarlemSquirrel committed Aug 29, 2020
1 parent dadc18e commit afe85a3
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
44 changes: 43 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit afe85a3

Please sign in to comment.