Skip to content

Commit d6aaa6c

Browse files
Merge pull request #816 from KratosMultiphysics/add-testings
Create blank.yml
2 parents 12096d9 + 33884b4 commit d6aaa6c

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.github/workflows/tester.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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

0 commit comments

Comments
 (0)