File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 17
17
run : pip install toml && python generate.py ${{ env.GIT_DIFF }}
18
18
- name : Minify generated installers
19
19
run : ./minify.sh ${{ env.GIT_DIFF }}
20
+ - name : Create a pull request for README.md & installers.toml updates
21
+ uses : peter-evans/create-pull-request@v3
22
+ with :
23
+ commit-message : update README.md & installers.toml
24
+ title : Update README.md & installers.toml
25
+ body : Update README.md & installers.toml for the changes to the installer scripts
26
+ branch : update-readme-md-and-installers-toml
20
27
- name : Archive Production Artifact
21
28
uses : actions/upload-artifact@master
22
29
with :
Original file line number Diff line number Diff line change 1
-
2
1
name : Run tests
3
2
4
3
on :
5
-
6
4
push :
7
5
branches : [ master ]
8
6
9
7
pull_request :
10
8
branches : [ master ]
11
9
12
-
13
10
jobs :
14
11
15
12
test-on-ubuntu :
16
-
17
13
runs-on : ubuntu-latest
18
14
steps :
19
- - uses : actions/checkout@v2
20
- - uses : technote-space/get-diff-action@v1
21
- - name : Get the list of modified files only
22
- run : pip install toml pytablewriter && python generate.py ${{ env.GIT_DIFF }} && docker build -t shellspec . && docker run -v $PWD:/app shellspec bash -c "cd /app && ./test.sh ${{ env.GIT_DIFF }}"
15
+ - uses : actions/checkout@v2
16
+ - uses : technote-space/get-diff-action@v1
17
+ - name : Run tests for the modified/ added files
18
+ run : |
19
+ pip install toml pytablewriter
20
+ python generate.py ${{ env.GIT_DIFF }}
21
+ docker build -t shellspec .
22
+ docker run -v $PWD:/app shellspec bash -c "cd /app && ./test.sh ${{ env.GIT_DIFF }}"
You can’t perform that action at this time.
0 commit comments