Skip to content

Commit 1336bc9

Browse files
committed
Remove services from CI
1 parent 4aa4893 commit 1336bc9

2 files changed

Lines changed: 6 additions & 29 deletions

File tree

‎.github/workflows/system_test.yml‎

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,7 @@ jobs:
1313
BUNDLE_JOBS: 4
1414
BUNDLE_RETRY: 3
1515
CI: true
16-
DATABASE_URL: postgres://postgres:postgres@localhost:5432
17-
CHROME_URL: http://localhost:3000
1816
RAILS_ENV: test
19-
services:
20-
postgres:
21-
image: postgres:11.1
22-
ports: ["5432:5432"]
23-
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
24-
redis:
25-
image: redis:5.0-alpine
26-
ports: ["6379:6379"]
27-
options: --health-cmd="redis-cli ping" --health-interval 1s --health-timeout 3s --health-retries 30
28-
chrome:
29-
image: browserless/chrome:1.31-chrome-stable
30-
ports: ["3000:3000"]
31-
options: -e CONNECTION_TIMEOUT=600000
3217
steps:
3318
- uses: actions/checkout@v2
3419
- uses: actions/cache@v1
@@ -40,9 +25,10 @@ jobs:
4025
- uses: ruby/setup-ruby@v1
4126
with:
4227
ruby-version: 2.6.5
43-
- name: Install PostgreSQL 11 client
28+
- name: Install libsqlite3
4429
run: |
45-
sudo apt-get -yqq install libpq-dev
30+
sudo apt-get update
31+
sudo apt-get install libsqlite3-dev
4632
- name: Bundle install
4733
run: |
4834
bundle config path /home/runner/bundle

‎.github/workflows/unit_test.yml‎

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,7 @@ jobs:
1313
BUNDLE_JOBS: 4
1414
BUNDLE_RETRY: 3
1515
CI: true
16-
DATABASE_URL: postgres://postgres:postgres@localhost:5432
1716
RAILS_ENV: test
18-
services:
19-
postgres:
20-
image: postgres:11.1
21-
ports: ["5432:5432"]
22-
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
23-
redis:
24-
image: redis:5.0-alpine
25-
ports: ["6379:6379"]
26-
options: --health-cmd="redis-cli ping" --health-interval 1s --health-timeout 3s --health-retries 30
2717
steps:
2818
- uses: actions/checkout@v2
2919
- uses: actions/cache@v1
@@ -35,9 +25,10 @@ jobs:
3525
- uses: ruby/setup-ruby@v1
3626
with:
3727
ruby-version: 2.6.5
38-
- name: Install PostgreSQL 11 client
28+
- name: Install libsqlite3
3929
run: |
40-
sudo apt-get -yqq install libpq-dev
30+
sudo apt-get update
31+
sudo apt-get install libsqlite3-dev
4132
- name: Bundle install
4233
run: |
4334
bundle config path /home/runner/bundle

0 commit comments

Comments
 (0)