Skip to content

Commit

Permalink
chore: optimize CircleCI workflow (ory#1919)
Browse files Browse the repository at this point in the history
Signed-off-by: sawadashota <[email protected]>
  • Loading branch information
sawadashota authored Jun 26, 2020
1 parent 06fde37 commit 384f7ff
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,16 @@ workflows:
only: /.*/
- test-legacy-migrations:
name: test-legacy-migrations-mysql
requires:
- test-legacy-migrations-postgres
flavor: mysql
filters:
tags:
only: /.*/
- test-legacy-migrations:
name: test-legacy-migrations-cockroach
requires:
- test-legacy-migrations-postgres
flavor: cockroach
filters:
tags:
Expand All @@ -170,24 +174,32 @@ workflows:
only: /.*/
- test-e2e:
name: test-e2e-postgres
requires:
- test-e2e-memory
flavor: postgres
filters:
tags:
only: /.*/
- test-e2e:
name: test-e2e-mysql
requires:
- test-e2e-memory
flavor: mysql
filters:
tags:
only: /.*/
- test-e2e:
name: test-e2e-cockroach
requires:
- test-e2e-memory
flavor: cockroach
filters:
tags:
only: /.*/
- test-e2e:
name: test-e2e-plugin
requires:
- test-e2e-memory
flavor: plugin
filters:
tags:
Expand All @@ -197,12 +209,10 @@ workflows:
- nancy/test
- test
- golangci/lint
- test-e2e-memory
- test-e2e-postgres
- test-e2e-mysql
- test-e2e-cockroach
- test-e2e-plugin
- test-legacy-migrations-postgres
- test-legacy-migrations-mysql
- test-legacy-migrations-cockroach
filters:
Expand All @@ -217,12 +227,10 @@ workflows:
- nancy/test
- test
- golangci/lint
- test-e2e-memory
- test-e2e-postgres
- test-e2e-mysql
- test-e2e-cockroach
- test-e2e-plugin
- test-legacy-migrations-postgres
- test-legacy-migrations-mysql
- test-legacy-migrations-cockroach
filters:
Expand Down Expand Up @@ -266,13 +274,11 @@ workflows:
- nancy/test
- test
- golangci/lint
- test-e2e-memory
- test-e2e-postgres
- test-e2e-mysql
- test-e2e-cockroach
- test-e2e-plugin
- changelog/generate
- test-legacy-migrations-postgres
- test-legacy-migrations-mysql
- test-legacy-migrations-cockroach
- docs/build
Expand Down

0 comments on commit 384f7ff

Please sign in to comment.