This repository was archived by the owner on Feb 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
59 lines (43 loc) · 1.32 KB
/
tests.yml
File metadata and controls
59 lines (43 loc) · 1.32 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
57
58
59
name: Code Testing
on:
push:
pull_request:
schedule:
- cron: '42 1 * * *'
jobs:
spellcheck:
runs-on: ubuntu-latest
name: Run spellcheck
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Update APT cache
run: sudo apt-get update
- name: Install lintian
run: sudo apt-get -y install lintian
- name: Spellcheck execution
run: make spellcheck
codecheck:
runs-on: ubuntu-latest
name: Run codecheck
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Display original shellcheck version
run: shellcheck --version
- name: Update shellcheck to latest stable version
run: |
wget -qO- https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz | tar -xJv
sudo cp shellcheck-stable/shellcheck /usr/bin/
- name: pip install flake8, isort + black
run: pip3 install -U flake8 isort black
- name: Display current shellcheck version
run: shellcheck --version
- name: Display current flake8 version
run: flake8 --version
- name: Display current isort version
run: isort --version
- name: Display current black version
run: black --version
- name: Codecheck execution
run: make --keep-going codecheck