File tree 3 files changed +4
-12
lines changed
3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 24
24
- name : Install dependencies
25
25
run : |
26
26
python --version
27
- python -m pip install -U poetry
27
+ python -m pip install -U pip poetry
28
28
- name : Configure repo
29
29
run : |
30
30
git config --local user.email "action@github.com"
Original file line number Diff line number Diff line change @@ -20,22 +20,14 @@ jobs:
20
20
python-version : ${{ matrix.python-version }}
21
21
- name : Install dependencies
22
22
run : |
23
- python -m pip install --pre -U poetry
23
+ python -m pip install -U pip poetry
24
24
poetry --version
25
25
poetry install
26
- - name : Run tests
26
+ - name : Run tests and linters
27
27
run : |
28
28
git config --global user.email "action@github.com"
29
29
git config --global user.name "GitHub Action"
30
30
./scripts/test
31
- - name : Check commit
32
- run : |
33
- poetry run python -m commitizen check --rev-range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} || \
34
- if [ $$? == 3 ] ; then
35
- exit 0;
36
- else
37
- exit 1;
38
- fi
39
31
- name : Upload coverage to Codecov
40
32
if : runner.os == 'Linux'
41
33
uses : codecov/codecov-action@v1.0.3
Original file line number Diff line number Diff line change 19
19
python-version : ' 3.x'
20
20
- name : Install dependencies
21
21
run : |
22
- python -m pip install --pre -U poetry mkdocs mkdocs-material
22
+ python -m pip install -U pip poetry mkdocs mkdocs-material
23
23
poetry --version
24
24
poetry install
25
25
- name : Publish
You can’t perform that action at this time.
0 commit comments