Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub action #150

Merged
merged 10 commits into from
Jan 28, 2021
File renamed without changes.
53 changes: 53 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: CI

on: [push, pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: First test
run: |
python setup.py install
python -m art test
python -m art test2
python -m art testcov
python -m art testcov2
- name: Install dev-requirements
run: |
python -m pip install --upgrade pip
pip install --upgrade --upgrade-strategy=only-if-needed -r dev-requirements.txt
- name: Version check
run: |
python otherfile/version_check.py
- name: Font check
run: |
python otherfile/font_check.py
- name: ART-Decor check
run: |
python otherfile/art_decor_check.py
- name: Other tests
run: |
python -m vulture art/ otherfile/ setup.py art_profile.py --min-confidence 65 --exclude=__init__.py --sort-by-size
python -m bandit -r art -s B311
python -m pydocstyle --match='(?!test).*\.py' -v
- name: Codecov
run: |
python -m art testcov2
codecov
- name: Profile
run: |
python -m cProfile -s cumtime art_profile.py
51 changes: 0 additions & 51 deletions .travis.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .travis/install.sh

This file was deleted.

33 changes: 0 additions & 33 deletions .travis/test.sh

This file was deleted.

2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Test system modified
## [5.1] - 2020-11-30
### Added
- 15 new fonts
Expand Down
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,9 @@ ART is a Python lib for text converting to ASCII art fancy. ;-)
<td align="center">dev</td>
</tr>
<tr>
<td align="center">Travis</td>
<td align="center"><a href="https://travis-ci.org/sepandhaghighi/art"><img src="https://travis-ci.org/sepandhaghighi/art.svg?branch=master"></a></td>
<td align="center"><a href="https://travis-ci.org/sepandhaghighi/art"><img src="https://travis-ci.org/sepandhaghighi/art.svg?branch=dev"></a></td>
</tr>
<tr>
<td align="center">AppVeyor</td>
<td align="center"><a href="https://ci.appveyor.com/project/sepandhaghighi/art"><img src="https://ci.appveyor.com/api/projects/status/n350ntyjthc2gil3/branch/master?svg=true"></a></td>
<td align="center"><a href="https://ci.appveyor.com/project/sepandhaghighi/art"><img src="https://ci.appveyor.com/api/projects/status/n350ntyjthc2gil3/branch/dev?svg=true"></a></td>
<td align="center">CI</td>
<td align="center"><img src="https://github.com/sepandhaghighi/art/workflows/CI/badge.svg?branch=master"></td>
<td align="center"><img src="https://github.com/sepandhaghighi/art/workflows/CI/badge.svg?branch=dev"></td>
</tr>
</table>

Expand Down
44 changes: 0 additions & 44 deletions appveyor.yml

This file was deleted.