Skip to content

Commit

Permalink
Bump bubop version, use poetry dynamic versioning, downgrade pyyaml
Browse files Browse the repository at this point in the history
  • Loading branch information
bergercookie committed Nov 5, 2023
1 parent ccfeb30 commit 7594d06
Show file tree
Hide file tree
Showing 6 changed files with 817 additions and 845 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ jobs:
- name: Python Poetry Action
uses: abatilo/[email protected]
with:
poetry-version: "1.3.2"
poetry-version: "1.6.1"
- name: Install prerequisites
run: |
sudo ./scripts/install-taskwarrior.sh
poetry install --all-extras
poetry self add "poetry-dynamic-versioning[plugin]"
task --version
- name: Run tests
run: poetry run pytest
Expand All @@ -75,9 +76,11 @@ jobs:
- name: Python Poetry Action
uses: abatilo/[email protected]
with:
poetry-version: "1.3.2"
poetry-version: "1.6.1"
- name: Install prerequisites
run: poetry install -E google -E notion -E gkeep
run: |
poetry install -E google -E notion -E gkeep
poetry self add "poetry-dynamic-versioning[plugin]"
- name: Run style checkers and linters
run: poetry run pre-commit run --all-files
coverage:
Expand All @@ -90,11 +93,12 @@ jobs:
- name: Python Poetry Action
uses: abatilo/[email protected]
with:
poetry-version: "1.3.2"
poetry-version: "1.6.1"
- name: Install prerequisites
run: |
sudo ./scripts/install-taskwarrior.sh
poetry install --all-extras
poetry self add "poetry-dynamic-versioning[plugin]"
task --version
- name: Coverage
run: |
Expand All @@ -113,7 +117,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Publish package to pypi
uses: JRubics/poetry-publish@v1.9
uses: JRubics/poetry-publish@v1.16
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
plugins: "poetry-dynamic-versioning[plugin]"
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ repos:
language: system
pass_filenames: true
types: [python]
- id: check-poetry
- id: poetry-check
name: Poetry check
description: Validates the structure of the pyproject.toml file
entry: poetry check
language: system
pass_filenames: false
files: pyproject.toml
files: "pyproject.toml|poetry.lock"

- repo: meta
hooks:
- id: check-hooks-apply
Expand Down
Loading

0 comments on commit 7594d06

Please sign in to comment.