Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rails_dingtalk
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
other
rails_dingtalk
Commits
d07602bb
Commit
d07602bb
authored
Nov 17, 2019
by
mingyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
project init
parents
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
test.yml
workflows/test.yml
+44
-0
No files found.
workflows/test.yml
0 → 100644
View file @
d07602bb
name
:
Test
on
:
[
push
]
jobs
:
test
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Fetch project
uses
:
actions/checkout@v1
with
:
submodules
:
recursive
-
name
:
Set up System
run
:
|
sudo apt install libsqlite3-dev
-
name
:
Set up Ruby
uses
:
actions/setup-ruby@v1
with
:
ruby-version
:
2.6.x
-
name
:
Set up Nodejs
uses
:
actions/setup-node@v1
with
:
node-version
:
10.x
-
name
:
Cache Bundle
uses
:
actions/cache@v1
with
:
path
:
bundle
key
:
${{ runner.OS }}-bundle-${{ hashFiles('Gemfile.lock') }}
-
name
:
Cache Node Modules
uses
:
actions/cache@v1
with
:
path
:
test/dummy/node_modules
key
:
${{ runner.OS }}-yarn-${{ hashFiles('test/dummy/yarn.lock') }}
-
name
:
Install dependencies
run
:
|
gem install bundler
bundle install --path=bundle --jobs=4 --retry=3
test/dummy/bin/yarn install --check-files
-
name
:
Prepare DB
run
:
|
bin/rails db:drop
bin/rails db:create
bin/rails db:migrate
-
name
:
Run test
run
:
|
bin/rails test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment