This repository was archived by the owner on Nov 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
codecov :
11
- # ---------------------------------------------------
12
- # Documentation and examples can be found at
13
- # https://github.com/snok/install-poetry
14
- # ---------------------------------------------------
15
11
runs-on : ubuntu-latest
16
12
steps :
17
- - uses : actions/checkout@v2
18
- - uses : actions/setup-python@v2
19
- with :
20
- python-version : 3.9
21
- - name : Install poetry
22
- uses : snok/install-poetry@v1.1.1
23
- with :
24
- virtualenvs-create : true
25
- virtualenvs-in-project : true
26
- - uses : actions/cache@v2
27
- id : cache-venv
28
- with :
29
- path : .venv
30
- key : ${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-3
31
- - run : poetry install --no-interaction --no-root
32
- if : steps.cache-venv.outputs.cache-hit != 'true'
33
- - run : poetry install --no-interaction
34
- - run : poetry run pytest --cov=openapi_tester --cov-report=xml
35
- - uses : codecov/codecov-action@v1
36
- with :
37
- file : ./coverage.xml
38
- fail_ci_if_error : true
13
+ - uses : snok/.github/workflows/codecov@main
14
+ with :
15
+ source-dir : openapi_tester
16
+ pip-cache-key : pip-0
17
+ poetry-cache-key : poetry-0
You can’t perform that action at this time.
0 commit comments