run lint and tests in parallel

This commit is contained in:
Lex Berezhny 2020-02-09 16:34:04 -05:00
parent 9a49eb06da
commit 0185cb48fb

View file

@ -14,7 +14,6 @@ jobs:
- run: make lint - run: make lint
tests-unit: tests-unit:
needs: lint
name: "tests / unit" name: "tests / unit"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -29,7 +28,6 @@ jobs:
run: coverage run -p --source=lbry -m unittest discover -vv tests.unit run: coverage run -p --source=lbry -m unittest discover -vv tests.unit
tests-integration: tests-integration:
needs: lint
name: "tests / integration" name: "tests / integration"
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
@ -49,7 +47,7 @@ jobs:
- run: tox -e ${{ matrix.test }} - run: tox -e ${{ matrix.test }}
build: build:
needs: ["tests-unit", "tests-integration"] needs: ["lint", "tests-unit", "tests-integration"]
name: "build" name: "build"
strategy: strategy:
matrix: matrix: