mirror of https://github.com/streamlink/streamlink
actions: fixed incorrect versions and use names for codecov (#2932)
such as `streamlink==0+untagged`
https://github.com/streamlink/streamlink/runs/616367673?check_suite_focus=true#step:4:89
also `depth=1` won't work see
e066aa5251/latest/api.html (L10)
use better upload names for codecov
> os:ubuntu-latest py:3.7
This commit is contained in:
parent
1d9eeafb90
commit
4f38b7bc7d
|
@ -43,6 +43,8 @@ jobs:
|
|||
- name: Upload coverage data
|
||||
continue-on-error: ${{ matrix.continue || false }}
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
name: os:${{ matrix.os }} py:${{ matrix.python }}
|
||||
|
||||
documentation:
|
||||
name: Test docs
|
||||
|
@ -52,7 +54,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 300
|
||||
- name: Fetch tags
|
||||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
|
@ -71,7 +73,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 300
|
||||
- name: Fetch tags
|
||||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
|
@ -106,7 +108,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 300
|
||||
- name: Fetch tags
|
||||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
|
@ -132,7 +134,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 300
|
||||
- name: Fetch tags
|
||||
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
||||
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/*
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
|
|
Loading…
Reference in New Issue