File tree Expand file tree Collapse file tree 2 files changed +8
-71
lines changed
lib/huginn_agent/templates/newagent/.github/workflows Expand file tree Collapse file tree 2 files changed +8
-71
lines changed Original file line number Diff line number Diff line change @@ -10,45 +10,15 @@ concurrency:
1010
1111jobs :
1212 run-tests :
13- name : ${{ matrix.os }} ruby-${{ matrix.ruby }} ${{ matrix.database_adapter }}
14- runs-on : ubuntu-20.04
13+ name : ${{ matrix.os }} ruby-${{ matrix.ruby }}
14+ runs-on : ${{ matrix.os }}
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- database_adapter :
19- - mysql2
20- - postgresql
18+ os :
19+ - ubuntu-20.04
2120 ruby :
2221 - " 3.2"
23- env :
24- DATABASE_ADAPTER : ${{ matrix.database_adapter }}
25- DATABASE_HOST : " 127.0.0.1"
26- DATABASE_USERNAME : root
27- DATABASE_PASSWORD : password
28- services :
29- mysql :
30- image : mysql:latest
31- env :
32- MYSQL_ROOT_PASSWORD : password
33- ports :
34- - 3306:3306
35- options : >-
36- --health-cmd "mysqladmin ping"
37- --health-interval 10s
38- --health-timeout 5s
39- --health-retries 3
40- postgres :
41- image : postgres:latest
42- env :
43- POSTGRES_USER : root
44- POSTGRES_PASSWORD : password
45- ports :
46- - 5432:5432
47- options : >-
48- --health-cmd pg_isready
49- --health-interval 10s
50- --health-timeout 5s
51- --health-retries 3
5222 steps :
5323 - uses : actions/checkout@v4
5424
6030 bundler : latest
6131 bundler-cache : true
6232
63- - name : Set up database
64- run : bundle exec rake db:create db:migrate
65-
6633 - name : Run tests
6734 run : bundle exec rake
Original file line number Diff line number Diff line change @@ -10,45 +10,18 @@ concurrency:
1010
1111jobs:
1212 run-tests:
13- name: ${{ matrix.os }} ruby-${{ matrix.ruby }} ${{ matrix.database_adapter }}
14- runs-on: ubuntu-20.04
13+ name: ${{ matrix.os }} ruby-${{ matrix.ruby }}
14+ runs-on: ${{ matrix.os }}
1515 strategy:
1616 fail-fast: false
1717 matrix:
18+ os:
19+ - ubuntu-20.04
1820 database_adapter:
1921 - mysql2
2022 - postgresql
2123 ruby:
2224 - "3.2"
23- env:
24- DATABASE_ADAPTER: ${{ matrix.database_adapter }}
25- DATABASE_HOST: "127.0.0.1"
26- DATABASE_USERNAME: root
27- DATABASE_PASSWORD: password
28- services:
29- mysql:
30- image: mysql:latest
31- env:
32- MYSQL_ROOT_PASSWORD: password
33- ports:
34- - 3306:3306
35- options: >-
36- --health-cmd "mysqladmin ping"
37- --health-interval 10s
38- --health-timeout 5s
39- --health-retries 3
40- postgres:
41- image: postgres:latest
42- env:
43- POSTGRES_USER: root
44- POSTGRES_PASSWORD: password
45- ports:
46- - 5432:5432
47- options: >-
48- --health-cmd pg_isready
49- --health-interval 10s
50- --health-timeout 5s
51- --health-retries 3
5225 steps:
5326 - uses: actions/checkout@v4
5427
6033 bundler: latest
6134 bundler-cache: true
6235
63- - name: Set up database
64- run: bundle exec rake db:create db:migrate
65-
6636 - name: Run tests
6737 run: bundle exec rake
You can’t perform that action at this time.
0 commit comments