Skip to content

Commit 774130e

Browse files
authored
Ballad Lint and Test Action (WIP) (#15)
* feat: test installing with Ballad * feat: add linter actions * fix(workflow): only run on the master branch * fix(workflow): rename lint.yml to balladtest.yml Authored by: BD103 <dont@stalk.me>
1 parent 91ab5da commit 774130e

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/balladtest.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Ballad Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
pull_request:
8+
branches: [master]
9+
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-python@v2
16+
17+
- name: Install Ballad
18+
run: pip install -U ballad
19+
20+
- name: Install Depedencies
21+
run: python -m ballad install -D
22+
23+
- name: Check with Black
24+
run: python -m black --check .
25+
26+
- name: Check with Isort
27+
run: python -m isort --check .
28+
29+
- name: Lint with Flake8
30+
run: python -m flake8

0 commit comments

Comments
 (0)