Skip to content

Commit

Permalink
tox workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanramoscfa committed Jan 10, 2024
1 parent 572588b commit 1c02032
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 39 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/python-test.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: tox

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Run tox
run: tox -e py${{ matrix.python-version }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),

### Added

- Added a workflow for automated testing of the package on multiple Python versions.
- Added a tox workflow for automated testing of the package on multiple Python versions.

## [0.1.3] - 2024-01-10

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<img src="media/logo.png" alt="Logo" style="width: 40%; height: auto;">
</p>

[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
[![pytest](https://github.com/nathanramoscfa/pycgapi/actions/workflows/tests.yml/badge.svg)](https://github.com/nathanramoscfa/pycgapi/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/nathanramoscfa/pycgapi/graph/badge.svg?token=I1CRHDN73S)](https://codecov.io/gh/nathanramoscfa/pycgapi)
[![Documentation Status](https://readthedocs.org/projects/coingeckoapi/badge/?version=latest)](https://coingeckoapi.readthedocs.io/en/latest/?badge=latest)
![PyPI](https://img.shields.io/pypi/v/pycgapi)
![Python Version](https://img.shields.io/pypi/pyversions/pycgapi)
[![Downloads](https://static.pepy.tech/badge/pycgapi)](https://pepy.tech/project/pycgapi)
![Platforms](https://img.shields.io/badge/Platforms-win--64-orange.svg?style=flat-square)
[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)

## Table of Contents
1. [Overview](#overview)
Expand Down
10 changes: 6 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@

|nbsp|

.. image:: https://img.shields.io/badge/License-MIT-brightgreen.svg
:target: https://img.shields.io/badge/
:alt: License

.. image:: https://github.com/nathanramoscfa/pycgapi/actions/workflows/tests.yml/badge.svg
:target: https://github.com/nathanramoscfa/pycgapi/actions/workflows/tests.yml
:alt: pytest
Expand All @@ -40,6 +36,12 @@
.. image:: https://img.shields.io/badge/Platforms-win--64-orange.svg?style=flat-square
:target: https://www.python.org

|nbsp|

.. image:: https://img.shields.io/badge/License-MIT-brightgreen.svg
:target: https://img.shields.io/badge/
:alt: License

Table of Contents
=================

Expand Down

0 comments on commit 1c02032

Please sign in to comment.