-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 1011 Bytes
/
on-push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: On Push
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Setup Python
if: |
!startsWith(github.event.head_commit.message, 'WIP')
&& !startsWith(github.ref, 'refs/heads/master')
&& !startsWith(github.ref, 'refs/heads/development/')
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install Tools
if: |
!startsWith(github.event.head_commit.message, 'WIP')
&& !startsWith(github.ref, 'refs/heads/master')
&& !startsWith(github.ref, 'refs/heads/development/')
run: |
sudo python3 -m pip install pylint
sudo python3 -m pip install requests
brew install shellcheck
- name: Static Analysis
if: |
!startsWith(github.event.head_commit.message, 'WIP')
&& !startsWith(github.ref, 'refs/heads/master')
&& !startsWith(github.ref, 'refs/heads/development/')
run: |
make analyze