File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tester
2+
3+ # Controls when the action will run.
4+ on :
5+ # Triggers the workflow on push or pull request events but only for the master branch
6+ push :
7+ branches : [ master ]
8+ pull_request :
9+ branches : [ master ]
10+
11+ # Allows you to run this workflow manually from the Actions tab
12+ workflow_dispatch :
13+
14+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+ jobs :
16+ # This workflow contains a single job called "build"
17+ test :
18+ # The type of runner that the job will run on
19+ runs-on : ubuntu-latest
20+
21+ env :
22+ GITHUB_ACTION : true
23+
24+ container :
25+ image : fjgarate/kratos-tester:latest
26+
27+ # Steps represent a sequence of tasks that will be executed as part of the job
28+ steps :
29+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30+ - uses : actions/checkout@v2
31+
32+ # Copy problemtype to gid and copy exec
33+ - name : Move kratos where it should be
34+ run : |
35+ rm -rf /gid/problemtypes/
36+ mkdir /gid/problemtypes
37+ mv $GITHUB_WORKSPACE/kratos.gid /gid/problemtypes/
38+
39+ # start the tester thing
40+ - name : Tester
41+ run : |
42+ cd /app
43+ npm start
You can’t perform that action at this time.
0 commit comments