Skip to content

Commit

Permalink
python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfalcao committed Mar 8, 2020
1 parent 365ecd5 commit 25c8f1f
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/python-3.6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: python-3.6

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v1
with:
python-version: 3.6

- name: Cache VirtualEnv
id: cache-venv
uses: actions/cache@v1
with:
path: .venv
key: ${{ runner.os }}-${{ hashFiles('*.txt') }}

- uses: actions/checkout@v1
- id: bento
name: Bento
uses: returntocorp/bento-action@v1
with:
acceptTermsWithEmail: gabriel@nacaolivre.org

- name: Unit Tests
run: make unit

- name: Functional Tests
run: make functional

- name: Randomize All Tests
run: make tests

- name: "Upload coverage results to codecov.io"
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml # optional
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: python-tests
name: python-3.7

on:
push:
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ UIClasses - Data-Modeling for User Interfaces
.. image:: https://img.shields.io/codecov/c/github/NewStore-oss/uiclasses
:target: https://codecov.io/gh/NewStore-oss/uiclasses

.. image:: https://img.shields.io/github/workflow/status/NewStore-oss/uiclasses/python-tests
.. image:: https://img.shields.io/github/workflow/status/NewStore-oss/uiclasses/python-3.6
:target: https://github.com/NewStore-oss/uiclasses/actions

.. image:: https://img.shields.io/github/workflow/status/NewStore-oss/uiclasses/python-3.7
:target: https://github.com/NewStore-oss/uiclasses/actions

.. image:: https://img.shields.io/readthedocs/uiclasses
Expand Down

0 comments on commit 25c8f1f

Please sign in to comment.