Skip to content

Commit 30034c6

Browse files
committed
added github workflow
1 parent 3e3f475 commit 30034c6

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: tox
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
strategy:
13+
matrix:
14+
python-version: [3.6, 3.7, 3.8, 3.9]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install tox tox-gh-actions
26+
- name: Test with tox
27+
run: tox

README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
Text progress bar library for Python.
33
##############################################################################
44

5-
Travis status:
5+
Build status:
66

7-
.. image:: https://travis-ci.org/WoLpH/python-progressbar.svg?branch=master
8-
:target: https://travis-ci.org/WoLpH/python-progressbar
7+
.. image:: https://github.com/WoLpH/python-progressbar/actions/workflows/main.yml/badge.svg
8+
:alt: python-progressbar test status
9+
:target: https://github.com/WoLpH/python-progressbar/actions
910

1011
Coverage:
1112

0 commit comments

Comments
 (0)