Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Commit 9ff373d

Browse files
authored
Merge pull request #3 from Leterax/ci-refinements
CI refinements
2 parents 8c0cb0a + 8462246 commit 9ff373d

File tree

2 files changed

+29
-9
lines changed

2 files changed

+29
-9
lines changed

.github/workflows/lint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Set up Python
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: 3.7
16+
- name: Install pipenv
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install pipenv
20+
- name: Install dependencies
21+
working-directory: ./brilliant-builders
22+
run: pipenv sync --dev
23+
- name: Lint
24+
working-directory: ./brilliant-builders
25+
run: pipenv run lint

.github/workflows/lint_test.yml renamed to .github/workflows/test.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint and test
1+
name: Test
22

33
on: [push]
44

@@ -22,12 +22,7 @@ jobs:
2222
pip install pipenv
2323
- name: Install dependencies
2424
working-directory: ./brilliant-builders
25-
run: pipenv sync --dev
26-
- name: Lint
25+
run: pipenv sync
26+
- name: Run tests
2727
working-directory: ./brilliant-builders
28-
run: |
29-
pipenv run lint
30-
- name: Test
31-
working-directory: ./brilliant-builders
32-
run: |
33-
pipenv run test
28+
run: pipenv run python -m unittest

0 commit comments

Comments
 (0)