Skip to content

Commit

Permalink
Add test for cockroach 21 (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
littlewhywhat committed Jun 17, 2021
1 parent 26ae741 commit 13749cd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,19 @@ jobs:
- run:
name: test
command: npm run migrate up -- -m test/cockroach --no-lock && npm run migrate down 0 -- -m test/cockroach --no-lock --timestamps
test-cockroach-21:
docker:
- <<: *node-image
environment:
- DATABASE_URL=postgresql://root@localhost:26257/circle_test
- image: cockroachdb/cockroach:v21.1.1
command: ['start-single-node', '--insecure', '--host=localhost']
steps:
- <<: *restore
- <<: *cockroach-wait
- run:
name: test
command: npm run migrate up -- -m test/cockroach --no-lock && npm run migrate down 0 -- -m test/cockroach --no-lock --timestamps
test-node-10:
docker:
- image: circleci/node:10
Expand Down Expand Up @@ -500,6 +513,9 @@ workflows:
- test-cockroach-20:
requires:
- install
- test-cockroach-21:
requires:
- install
- test-node-10:
requires:
- install
Expand Down

0 comments on commit 13749cd

Please sign in to comment.