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

update workflows #35

Merged
merged 1 commit into from
May 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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