Skip to content

Commit f96b30e

Browse files
Merge pull request #20 from IvanildoBarauna/feat-VersionControlOnCd
chore: Added Version Control on CD
2 parents 041405c + a7afdd5 commit f96b30e

File tree

5 files changed

+65
-51
lines changed

5 files changed

+65
-51
lines changed

.github/workflows/CD.yaml

Lines changed: 0 additions & 48 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+

.idea/api-to-dataframe.iml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "api-to-dataframe"
3-
version = "0.0.4"
3+
version = "0.0.7"
44
description = "A package to convert API responses to pandas dataframe"
55
authors = ["IvanildoBarauna <[email protected]>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)