forked from LBRYCommunity/lbry-sdk
sans unit tests
This commit is contained in:
parent
76e21f65df
commit
7855f9c93f
1 changed files with 32 additions and 32 deletions
64
.github/workflows/main.yml
vendored
64
.github/workflows/main.yml
vendored
|
@ -21,38 +21,38 @@ jobs:
|
||||||
pip install -e .[lint]
|
pip install -e .[lint]
|
||||||
- run: make lint
|
- run: make lint
|
||||||
|
|
||||||
tests-unit:
|
# tests-unit:
|
||||||
name: "tests / unit"
|
# name: "tests / unit"
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
os:
|
# os:
|
||||||
- ubuntu-latest
|
# - ubuntu-latest
|
||||||
- macos-latest
|
# - macos-latest
|
||||||
- windows-latest
|
# - windows-latest
|
||||||
runs-on: ${{ matrix.os }}
|
# runs-on: ${{ matrix.os }}
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v1
|
# - uses: actions/checkout@v1
|
||||||
- uses: actions/setup-python@v1
|
# - uses: actions/setup-python@v1
|
||||||
with:
|
# with:
|
||||||
python-version: '3.7'
|
# python-version: '3.7'
|
||||||
- name: set pip cache dir
|
# - name: set pip cache dir
|
||||||
id: pip-cache
|
# id: pip-cache
|
||||||
run: echo "::set-output name=dir::$(pip cache dir)"
|
# run: echo "::set-output name=dir::$(pip cache dir)"
|
||||||
- name: extract pip cache
|
# - name: extract pip cache
|
||||||
uses: actions/cache@v2
|
# uses: actions/cache@v2
|
||||||
with:
|
# with:
|
||||||
path: ${{ steps.pip-cache.outputs.dir }}
|
# path: ${{ steps.pip-cache.outputs.dir }}
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
|
# key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
|
||||||
restore-keys: ${{ runner.os }}-pip-
|
# restore-keys: ${{ runner.os }}-pip-
|
||||||
- run: |
|
# - run: |
|
||||||
pip install --user --upgrade pip wheel
|
# pip install --user --upgrade pip wheel
|
||||||
pip install -e .[test]
|
# pip install -e .[test]
|
||||||
- env:
|
# - env:
|
||||||
HOME: /tmp
|
# HOME: /tmp
|
||||||
run: coverage run -m unittest -vv tests.unit.test_conf
|
# run: coverage run -m unittest -vv tests.unit.test_conf
|
||||||
# run: coverage run -m unittest discover -vv tests.unit
|
## run: coverage run -m unittest discover -vv tests.unit
|
||||||
- if: startsWith(runner.os, 'linux') || startsWith(runner.os, 'mac')
|
# - if: startsWith(runner.os, 'linux') || startsWith(runner.os, 'mac')
|
||||||
run: bash <(curl -s https://codecov.io/bash) -X gcov -F unit,${{ runner.os }}
|
# run: bash <(curl -s https://codecov.io/bash) -X gcov -F unit,${{ runner.os }}
|
||||||
|
|
||||||
tests-integration:
|
tests-integration:
|
||||||
name: "tests / integration"
|
name: "tests / integration"
|
||||||
|
|
Loading…
Reference in a new issue