File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 ci_node_total : [4]
1212 ci_node_index : [0, 1, 2, 3]
1313 steps :
14- - name : Setup MySQL
15- id : setup-mysql
16- uses : alphagov/govuk-infrastructure/.github/actions/setup-mysql @main
14+ - name : Setup Postgres
15+ id : setup-postgres
16+ uses : alphagov/govuk-infrastructure/.github/actions/setup-postgres @main
1717
1818 - name : Setup Redis
1919 uses : alphagov/govuk-infrastructure/.github/actions/setup-redis@main
@@ -52,13 +52,13 @@ jobs:
5252 - name : Initialize database
5353 env :
5454 RAILS_ENV : test
55- TEST_DATABASE_URL : ${{ steps.setup-mysql .outputs.db-url }}
55+ TEST_DATABASE_URL : ${{ steps.setup-postgres .outputs.db-url }}
5656 run : bundle exec rails db:setup
5757
5858 - name : Run cucumber
5959 env :
6060 RAILS_ENV : test
61- TEST_DATABASE_URL : ${{ steps.setup-mysql .outputs.db-url }}
61+ TEST_DATABASE_URL : ${{ steps.setup-postgres .outputs.db-url }}
6262 CI_NODE_TOTAL : ${{ matrix.ci_node_total }}
6363 CI_NODE_INDEX : ${{ matrix.ci_node_index }}
6464 run : bundle exec ./bin/cucumber-ci
You can’t perform that action at this time.
0 commit comments