Skip to content

Commit

Permalink
Update dependencies and status badge
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Dec 19, 2022
1 parent e44f8a8 commit 6d922a7
Show file tree
Hide file tree
Showing 5 changed files with 428 additions and 449 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.0
uses: abatilo/actions-poetry@v2.2.0
with:
poetry-version: 1.1.12
poetry-version: 1.3.1
- name: Deploy to PyPI
run: poetry publish --build
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ jobs:
python: ['3.10']
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{runner.os}}-poetry-${{hashFiles('poetry.lock')}}
- name: Set up Python ${{matrix.python}}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}
- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.0
uses: abatilo/actions-poetry@v2.2.0
with:
poetry-version: 1.1.12
poetry-version: 1.3.1
- name: Install dependencies
run: poetry install
- name: Lint project
Expand All @@ -36,4 +36,4 @@ jobs:
- name: Run tests
run: poetry run pytest --cov-report=xml
- name: Upload coverage to codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ yaenv
:target: https://yaenv.readthedocs.io/en/latest/
:alt: Read the Docs

.. |github| image:: https://img.shields.io/github/workflow/status/ObserverOfTime/yaenv/tests?label=build&logo=github
.. |github| image:: https://img.shields.io/github/actions/workflow/status/ObserverOfTime/yaenv/tests.yml?label=build&logo=github&branch=master
:target: https://github.com/ObserverOfTime/yaenv/actions/workflows/tests.yml?query=branch%3Amaster
:alt: GitHub Actions

Expand Down

0 comments on commit 6d922a7

Please sign in to comment.