Skip to content

Commit 14475ef

Browse files
committed
update github workflow
1 parent dbb1012 commit 14475ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v2
2424

25+
- run: git describe --tag
26+
2527
- name: setup python ${{ matrix.python-version }} environment
2628
uses: actions/setup-python@v2
2729
with:
@@ -36,6 +38,7 @@ jobs:
3638
- run: poetry-dynamic-versioning
3739

3840
- name: "test python packages"
41+
timeout-minutes: 15
3942
run: poetry run pytest --junitxml=test-results/python-${{ matrix.python-version }}/test-results.xml --cov=robotcode --cov-report=xml:testresults/python-${{ matrix.python-version }}/coverage.xml --cov-report=html:test-results/python-${{ matrix.python-version }}/htmlcov --html=test-results/python-${{ matrix.python-version }}/report.html --self-contained-html
4043

4144
- name: upload test results
@@ -49,7 +52,6 @@ jobs:
4952
needs: test
5053
runs-on: ubuntu-latest
5154

52-
# the build-and-test job might be skipped, we don't need to run this job then
5355
if: success() || failure()
5456

5557
steps:
@@ -71,6 +73,8 @@ jobs:
7173
steps:
7274
- uses: actions/checkout@v1
7375

76+
- run: git describe --tag
77+
7478
- name: setup python environment
7579
uses: actions/setup-python@v2
7680
with:

0 commit comments

Comments
 (0)