Skip to content

Commit

Permalink
Merge pull request #28 from IvanildoBarauna/dependabot/pip/black-24.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Aug 12, 2024
2 parents 23a89b2 + c611ea1 commit 3724943
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 55 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests and Pre-build
name: Tests

on:
pull_request:
Expand Down Expand Up @@ -41,27 +41,27 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml

pre_build:
if: github.actor != 'actions[bot]'
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'

- name: Poetry Setup
run: |
pip install --upgrade pip
curl -sSL https://install.python-poetry.org | python3 -
poetry config virtualenvs.create false
poetry install
# pre_build:
# if: github.actor != 'actions[bot]'
# runs-on: ubuntu-latest
# needs: test
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# with:
# ref: ${{ github.head_ref }}

# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.9'

# - name: Poetry Setup
# run: |
# pip install --upgrade pip
# curl -sSL https://install.python-poetry.org | python3 -
# poetry config virtualenvs.create false
# poetry install

# - name: Generate and push Tag
# run: |
Expand All @@ -72,18 +72,18 @@ jobs:
# git push -f origin --tags


- name: Build package
run: poetry build
# - name: Build package
# run: poetry build

- name: Repository Setup
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
# - name: Repository Setup
# run: |
# poetry config repositories.test-pypi https://test.pypi.org/legacy/

- name: Publish package to TestPyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.TEST_PYPI_TOKEN }}
run: poetry publish -r test-pypi -u __token__ --password $POETRY_PYPI_TOKEN_PYPI
# - name: Publish package to TestPyPI
# env:
# POETRY_PYPI_TOKEN_PYPI: ${{ secrets.TEST_PYPI_TOKEN }}
# run: poetry publish -r test-pypi -u __token__ --password $POETRY_PYPI_TOKEN_PYPI

environment:
name: Development
url: https://test.pypi.org/project/currency-quote/
# url: https://test.pypi.org/project/currency-quote/
46 changes: 23 additions & 23 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3724943

Please sign in to comment.