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 598d5886
authored
Jan 17, 2021
by
papb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: test on Node.js 10 and 12
1 parent
defa2f02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
8 deletions
.github/workflows/ci.yml
.github/workflows/ci.yml
View file @
598d588
...
@@ -34,7 +34,11 @@ jobs:
...
@@ -34,7 +34,11 @@ jobs:
-
run
:
npm install --save-dev typescript@~${{ matrix.ts-version }}
-
run
:
npm install --save-dev typescript@~${{ matrix.ts-version }}
-
run
:
npm run test-typings
-
run
:
npm run test-typings
test-sqlite
:
test-sqlite
:
name
:
SQLite
strategy
:
fail-fast
:
false
matrix
:
node-version
:
[
10
,
12
]
name
:
SQLite (Node ${{ matrix.node-version }})
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
env
:
env
:
DIALECT
:
sqlite
DIALECT
:
sqlite
...
@@ -42,7 +46,7 @@ jobs:
...
@@ -42,7 +46,7 @@ jobs:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-node@v1
-
uses
:
actions/setup-node@v1
with
:
with
:
node-version
:
12.x
node-version
:
${{ matrix.node-version }}
-
run
:
npm install
-
run
:
npm install
-
name
:
Unit Tests
-
name
:
Unit Tests
run
:
npm run test-unit
run
:
npm run test-unit
...
@@ -52,10 +56,11 @@ jobs:
...
@@ -52,10 +56,11 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
node-version
:
[
10
,
12
]
postgres-version
:
[
9.5
,
10
]
# Does not work with 12
postgres-version
:
[
9.5
,
10
]
# Does not work with 12
minify-aliases
:
[
true
,
false
]
minify-aliases
:
[
true
,
false
]
native
:
[
true
,
false
]
native
:
[
true
,
false
]
name
:
Postgres ${{ matrix.postgres-version }}${{ matrix.native && ' (native)' || '' }}${{ matrix.minify-aliases && ' (minified aliases)' || '' }}
name
:
Postgres ${{ matrix.postgres-version }}${{ matrix.native && ' (native)' || '' }}
(Node ${{ matrix.node-version }})
${{ matrix.minify-aliases && ' (minified aliases)' || '' }}
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
services
:
services
:
postgres
:
postgres
:
...
@@ -75,7 +80,7 @@ jobs:
...
@@ -75,7 +80,7 @@ jobs:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-node@v1
-
uses
:
actions/setup-node@v1
with
:
with
:
node-version
:
12.x
node-version
:
${{ matrix.node-version }}
-
run
:
npm install
-
run
:
npm install
-
run
:
npm install pg-native
-
run
:
npm install pg-native
if
:
matrix.native
if
:
matrix.native
...
@@ -92,10 +97,20 @@ jobs:
...
@@ -92,10 +97,20 @@ jobs:
-
name
:
MySQL 5.7
-
name
:
MySQL 5.7
image
:
mysql:5.7
image
:
mysql:5.7
dialect
:
mysql
dialect
:
mysql
node-version
:
10
-
name
:
MySQL 5.7
image
:
mysql:5.7
dialect
:
mysql
node-version
:
12
-
name
:
MariaDB 10.3
image
:
mariadb:10.3
dialect
:
mariadb
node-version
:
10
-
name
:
MariaDB 10.3
-
name
:
MariaDB 10.3
image
:
mariadb:10.3
image
:
mariadb:10.3
dialect
:
mariadb
dialect
:
mariadb
name
:
${{ matrix.name }}
node-version
:
12
name
:
${{ matrix.name }} (Node ${{ matrix.node-version }})
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
services
:
services
:
mysql
:
mysql
:
...
@@ -115,7 +130,7 @@ jobs:
...
@@ -115,7 +130,7 @@ jobs:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-node@v1
-
uses
:
actions/setup-node@v1
with
:
with
:
node-version
:
12.x
node-version
:
${{ matrix.node-version }}
-
run
:
npm install
-
run
:
npm install
-
name
:
Unit Tests
-
name
:
Unit Tests
run
:
npm run test-unit
run
:
npm run test-unit
...
@@ -125,8 +140,9 @@ jobs:
...
@@ -125,8 +140,9 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
node-version
:
[
10
,
12
]
mssql-version
:
[
2017
,
2019
]
mssql-version
:
[
2017
,
2019
]
name
:
MSSQL ${{ matrix.mssql-version }}
name
:
MSSQL ${{ matrix.mssql-version }}
(Node ${{ matrix.node-version }})
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
services
:
services
:
mssql
:
mssql
:
...
@@ -149,7 +165,7 @@ jobs:
...
@@ -149,7 +165,7 @@ jobs:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-node@v1
-
uses
:
actions/setup-node@v1
with
:
with
:
node-version
:
12.x
node-version
:
${{ matrix.node-version }}
-
run
:
npm install
-
run
:
npm install
-
name
:
Unit Tests
-
name
:
Unit Tests
run
:
npm run test-unit
run
:
npm run test-unit
...
...
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