Skip to content

Commit

Permalink
Merge pull request #35 from digitronik/update_workflow
Browse files Browse the repository at this point in the history
update workflows
  • Loading branch information
digitronik committed May 7, 2020
2 parents ac6309c + da47ae7 commit 45615b7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build-and-publish:
name: Build and publish miqsel distributions to PyPI
if: startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
- name: Checkout to master
Expand All @@ -18,7 +19,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3.8'
architecture: 'x64'

- name: Build Package
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/unit_checks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: miqsel
name: 🕵️ Test suite

on: push
on:
push:
pull_request:
schedule:
# Run every Friday at 23:59 UTC
- cron: 59 23 * * 5

jobs:
pre-commit:
Expand All @@ -13,7 +18,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3.8'
architecture: 'x64'

- name: Pre-Commit Checks
Expand All @@ -26,12 +31,12 @@ jobs:
run: git diff

tests:
name: Python-${{ matrix.python-version }}
name: 🐍 Python-${{ matrix.python-version }}
needs: pre-commit
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.6', '3.7' ]
python-version: [ '3.6', '3.7', '3.8' ]
steps:
- name: Checkout to master
uses: actions/checkout@master
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<p align="center">
<a href="https://pypi.org/project/miqsel"><img alt="Python Versions"
src="https://img.shields.io/pypi/pyversions/miqsel.svg?style=flat"></a>
<a href="https://travis-ci.org/digitronik/miqsel"><img alt="Build Status"
src="https://travis-ci.com/digitronik/miqsel.svg?branch=master"></a>
<a href="https://github.com/digitronik/miqsel/actions?query=workflow%3A%22%F0%9F%95%B5%EF%B8%8F+Test+suite%22"><img alt="Build Status"
src="https://github.com/digitronik/miqsel/workflows/%F0%9F%95%B5%EF%B8%8F%20Test%20suite/badge.svg"></a>
<a href="https://github.com/digitronik/miqsel/blob/master/LICENSE"><img alt="License: GPLV3"
src="https://img.shields.io/pypi/l/miqsel.svg?version=latest"></a>
<a href="https://pypi.org/project/miqsel/#history"><img alt="PyPI version"
Expand Down

0 comments on commit 45615b7

Please sign in to comment.