Skip to content

Commit

Permalink
Merge pull request #8 from CarloDePieri/testing
Browse files Browse the repository at this point in the history
bump dependencies, update gh actions
  • Loading branch information
CarloDePieri authored Feb 16, 2024
2 parents f1d1669 + 73bd7b9 commit 79217a9
Show file tree
Hide file tree
Showing 10 changed files with 1,148 additions and 1,053 deletions.
1 change: 1 addition & 0 deletions .actrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-P ubuntu-latest=catthehacker/ubuntu:act-latest
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- name: Checkout.
uses: actions/checkout@v2

- uses: actions/setup-python@v3
- uses: actions/setup-python@v5
with:
python-version: '3.7.x'
python-version: '3.8.x'

- name: Make sure path are there also for act shells.
if: ${{ env.ACT }}
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,26 @@ jobs:
- name: Checkout.
uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '3.7.x'

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.8.x'

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.9.x'

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10.x'

- uses: actions/setup-python@v5
with:
python-version: '3.11.x'

- uses: actions/setup-python@v5
with:
python-version: '3.12.x'

- name: Make sure path are there also for act shells.
if: env.using_act == 'true'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/checkout@v3

- uses: actions/setup-python@v3
- uses: actions/setup-python@v5
with:
python-version: '3.10.x'

Expand All @@ -35,7 +35,7 @@ jobs:
- name: Build docs
run: |
cd docs
make html
TZ=UTC make html
- name: Commit documentation changes
run: |
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,26 @@ jobs:
- name: Checkout.
uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '3.7.x'

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.8.x'

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.9.x'

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10.x'

- uses: actions/setup-python@v5
with:
python-version: '3.11.x'

- uses: actions/setup-python@v5
with:
python-version: '3.12.x'

- name: Make sure path are there also for act shells.
if: env.using_act == 'true'
run: |
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pytest-vcr-delete-on-fail
.. image:: https://img.shields.io/pypi/pyversions/pytest-vcr-delete-on-fail
:target: https://pypi.org/project/pytest-vcr-delete-on-fail/
:alt: PyPI - Python Version
.. image:: https://img.shields.io/github/workflow/status/CarloDePieri/pytest-vcr-delete-on-fail/prod?logo=github
.. image:: https://img.shields.io/github/actions/workflow/status/CarloDePieri/pytest-vcr-delete-on-fail/prod.yml?branch=main
:target: https://github.com/CarloDePieri/pytest-vcr-delete-on-fail/actions/workflows/prod.yml
:alt: CI Status
.. image:: https://coveralls.io/repos/github/CarloDePieri/pytest-vcr-delete-on-fail/badge.svg?branch=main
Expand All @@ -19,7 +19,7 @@ pytest-vcr-delete-on-fail
.. image:: https://img.shields.io/github/license/CarloDePieri/pytest-vcr-delete-on-fail
:target: https://github.com/CarloDePieri/pytest-vcr-delete-on-fail/blob/main/LICENSE
:alt: License: GPL-3.0
.. image:: https://img.shields.io/maintenance/yes/2022
.. image:: https://img.shields.io/maintenance/yes/2024
:target: https://github.com/CarloDePieri/pytest-vcr-delete-on-fail/
:alt: Maintained!
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
Expand Down Expand Up @@ -98,13 +98,13 @@ Now clone the git repo:
$ cd pytest-vcr-delete-on-fail
$ inv install
This will try to create a virtualenv based on ``python3.7`` and install there all
This will try to create a virtualenv based on ``python3.8`` and install there all
project's dependencies. If a different python version is preferred, it can be
selected by specifying the ``--python`` (``-p``) flag like this:

.. code-block:: console
$ inv install -p python3.8
$ inv install -p python3.9
The test suite can be run with commands:

Expand Down
3 changes: 1 addition & 2 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Installation
Prerequisites
-------------

This plugin is compatible with ``pytest >= 6.2.2`` and is actively tested against ``python >=3.7, <=3.10``.
This plugin is compatible with ``pytest >= 8.0.0`` and is actively tested against ``python >=3.8.1, <=3.12``.

PyPi
----
Expand All @@ -14,4 +14,3 @@ Simply run:
.. code-block:: console
$ pip install pytest-vcr-delete-on-fail
Loading

0 comments on commit 79217a9

Please sign in to comment.