File tree Expand file tree Collapse file tree 3 files changed +49
-15
lines changed
Expand file tree Collapse file tree 3 files changed +49
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ # Special job which automatically cancels old runs for the same branch, prevents runs for the
7+ # same file set which has already passed, etc.
8+ pre_job :
9+ name : Skip Duplicate Jobs Pre Job
10+ runs-on : ubuntu-latest
11+ outputs :
12+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
13+ steps :
14+ - id : skip_check
15+ uses : fkirc/skip-duplicate-actions@4c656bbdb6906310fa6213604828008bc28fe55d # v3.3.0
16+ with :
17+ cancel_others : ' true'
18+ github_token : ${{ github.token }}
19+
20+ lint-checks :
21+ needs : pre_job
22+ name : Make requirements and lint check on Python3.6
23+ runs-on : ubuntu-18.04
24+ steps :
25+ - name : Checkout st2tests repository
26+ uses : actions/checkout@v2
27+ - name : Checkout st2 repository
28+ uses : actions/checkout@v2
29+ with :
30+ repository : " StackStorm/st2"
31+ - name : Set up Python3.6
32+ uses : actions/setup-python@v2
33+ with :
34+ python-version : ' 3.6.13'
35+ - name : Install apt dependencies
36+ run : |
37+ sudo apt install -y libldap2-dev libsasl2-dev
38+ - name : Install virtualenv
39+ run : |
40+ python3 -m pip install virtualenv
41+ - name : Make requirements
42+ timeout-minutes : 5
43+ run : |
44+ script -e -c "make requirements"
45+ - name : Make Lint
46+ timeout-minutes : 15
47+ run : |
48+ script -e -c "make lint"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ VIRTUALENV_DIR ?= virtualenv
66BINARIES := bin
77
88# All components are prefixed by st2
9- COMPONENTS := $(wildcard /tmp/ st2/st2* )
9+ COMPONENTS := $(wildcard st2/st2* )
1010
1111# nasty hack to get a space into a variable
1212space_char :=
You can’t perform that action at this time.
0 commit comments