Skip to content

Commit a7afdd5

Browse files
chore: Join CI with CD
1 parent f8e80c8 commit a7afdd5

File tree

2 files changed

+31
-52
lines changed

2 files changed

+31
-52
lines changed

.github/workflows/CD.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/CI.yaml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,34 @@ jobs:
3838
uses: codecov/[email protected]
3939
with:
4040
token: ${{ secrets.CODECOV_TOKEN }}
41-
files: ./coverage.xml
41+
files: ./coverage.xml
42+
43+
build:
44+
if: github.actor != 'actions[bot]'
45+
runs-on: ubuntu-latest
46+
47+
needs: test
48+
49+
steps:
50+
- name: Checkout code
51+
uses: actions/checkout@v2
52+
with:
53+
ref: ${{ github.head_ref }}
54+
55+
56+
- name: Set up Python
57+
uses: actions/setup-python@v2
58+
with:
59+
python-version: '3.9'
60+
61+
- name: Install Poetry
62+
run: |
63+
pip install --upgrade pip
64+
curl -sSL https://install.python-poetry.org | python3 -
65+
poetry config virtualenvs.create false
66+
poetry install
67+
68+
- name: Increment version
69+
run: |
70+
poetry version patch # params: patch, minor, major
71+

0 commit comments

Comments
 (0)