Skip to content

Commit afe85a3

Browse files
Update ci configs
1 parent dadc18e commit afe85a3

File tree

2 files changed

+47
-5
lines changed

2 files changed

+47
-5
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
matrix:
2121
ruby:
2222
- "2.5"
23-
#- "2.6"
24-
#- "2.7"
25-
#- "jruby-9.2"
23+
- "2.6"
24+
- "2.7"
25+
- "jruby-9.2"
2626
steps:
2727
- uses: actions/checkout@v2
2828
- name: Run tests with Ruby ${{ matrix.ruby }}
29-
run: docker-compose run ci-ruby-${{ matrix.ruby }}
29+
run: docker-compose run ci-${{ matrix.ruby }}

docker-compose.yml

+43-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
volumes:
2525
- ./test/fixtures/ldif:/ldif:ro
2626

27-
ci-ruby-2.5:
27+
ci-2.5:
2828
image: ruby:2.5
2929
entrypoint: /code/ci-run.sh
3030
environment:
@@ -37,3 +37,45 @@ services:
3737
volumes:
3838
- .:/code
3939
working_dir: /code
40+
41+
ci-2.6:
42+
image: ruby:2.7
43+
entrypoint: /code/ci-run.sh
44+
environment:
45+
INTEGRATION: openldap
46+
INTEGRATION_HOST: ldap.example.org
47+
depends_on:
48+
- openldap
49+
networks:
50+
integration_test_network:
51+
volumes:
52+
- .:/code
53+
working_dir: /code
54+
55+
ci-2.7:
56+
image: ruby:2.7
57+
entrypoint: /code/ci-run.sh
58+
environment:
59+
INTEGRATION: openldap
60+
INTEGRATION_HOST: ldap.example.org
61+
depends_on:
62+
- openldap
63+
networks:
64+
integration_test_network:
65+
volumes:
66+
- .:/code
67+
working_dir: /code
68+
69+
ci-jruby-9.2:
70+
image: jruby:9.2
71+
entrypoint: /code/ci-run.sh
72+
environment:
73+
INTEGRATION: openldap
74+
INTEGRATION_HOST: ldap.example.org
75+
depends_on:
76+
- openldap
77+
networks:
78+
integration_test_network:
79+
volumes:
80+
- .:/code
81+
working_dir: /code

0 commit comments

Comments
 (0)