This repository has been archived by the owner on Dec 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6dba197
commit 087956a
Showing
7 changed files
with
2,038 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: 'Test' | ||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
test: | ||
name: Test | ||
timeout-minutes: 20 | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 0 | ||
matrix: | ||
# 14 is not working yet | ||
node-version: [10.x, 12.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: docker-compose build | ||
- run: docker-compose up -d mysql postgres | ||
- run: sleep 10 | ||
# sandbox DB is created by the compose files | ||
- run: docker-compose run patio psql -h localhost -c 'create database sandbox2;' -U postgres | ||
- run: docker-compose run patio mysql -h 0.0.0.0 -e 'create database sandbox2;' | ||
- run: npm install -g grunt-cli | ||
- run: npm install | ||
- run: npm run test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:10 | ||
FROM node:12 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.