Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit d399de7e
authored
Jan 16, 2021
by
papb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: re-add pg minify-aliases tests
1 parent
0ca876e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
.github/workflows/ci.yml
.github/workflows/ci.yml
View file @
d399de7
...
...
@@ -48,8 +48,9 @@ jobs:
fail-fast
:
false
matrix
:
postgres-version
:
[
9.5
,
10
]
# Does not work with 12
minify-aliases
:
[
true
,
false
]
native
:
[
true
,
false
]
name
:
Postgres ${{ matrix.postgres-version }}${{ matrix.native && ' (native)' || '' }}
name
:
Postgres ${{ matrix.postgres-version }}${{ matrix.native && ' (native)' || '' }}
${{ matrix.minify-aliases && ' (minified aliases)' || '' }}
runs-on
:
ubuntu-latest
services
:
postgres
:
...
...
@@ -63,6 +64,7 @@ jobs:
options
:
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env
:
DIALECT
:
${{ matrix.native && 'postgres-native' || 'postgres' }}
SEQ_PG_MINIFY_ALIASES
:
${{ matrix.minify-aliases && '1' || '' }}
steps
:
-
run
:
PGPASSWORD=sequelize_test psql -h localhost -p 5432 -U sequelize_test sequelize_test -c '\l'
-
uses
:
actions/checkout@v2
...
...
@@ -74,6 +76,7 @@ jobs:
if
:
matrix.native
-
name
:
Unit Tests
run
:
npm run test-unit
if
:
${{ !matrix.minify-aliases }}
-
name
:
Integration Tests
run
:
npm run test-integration
test-mysql-mariadb
:
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment