forked from dpath-maintainers/dpath-python
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (50 loc) · 1.78 KB
/
linterTest.yml
File metadata and controls
56 lines (50 loc) · 1.78 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: LinterTest
# ------------------------------------------------------------
# (C) Alain Lichnewsky, 2021
#
# For running under Github's Actions
#
# Script performs basic static test of the package under Python-3,
# including added functionality.
# ------------------------------------------------------------
# Controls when the action will run.
on:
#
## Not enabled, would triggers the workflow on push or pull request events but
## only for the AL-addRegexp branch.
#push:
# branches: [ AL-addRegexp ]
# Allows to run this workflow manually from the Github Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in
# parallel
jobs:
# This workflow contains a single job called "super-lint"
super-lint:
# Steps represent a sequence of tasks that will be executed by the job
# Name the Job
name: Lint code base
# Set the type of machine to run on
runs-on: ubuntu-latest
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2
# Runs a single command using the runners shell, in practice it is useful
# to figure out some of the environment setup
- name: Use shell to figure out environment
run: echo Hello from Github Actions !!;
bash --version | head -1 ;
echo LANG=${LANG} SHELL=${SHELL} ;
echo PATH=${PATH} ;
pwd;
ls -ltha;
# Runs the Super-Linter action
- name: Run Super-Linter
uses: github/super-linter@v3
#
# this script requires some environment variables
#
env:
DEFAULT_BRANCH: AL-addRegexp
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}