From 0103e60e32376dd685435f838e13d3749ef9499f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alban=20F=C3=A9ron?= Date: Sun, 22 Nov 2020 15:17:05 +0100 Subject: [PATCH] Tweaking test workflow --- .github/workflows/{package.yaml => tests.yaml} | 5 +++-- README.md | 2 +- ci-requirements.txt | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{package.yaml => tests.yaml} (92%) diff --git a/.github/workflows/package.yaml b/.github/workflows/tests.yaml similarity index 92% rename from .github/workflows/package.yaml rename to .github/workflows/tests.yaml index 3ef655b..d3e58e9 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/tests.yaml @@ -1,6 +1,6 @@ # Inspired by python-package -name: Package +name: Tests on: - push - pull_request @@ -15,6 +15,7 @@ jobs: - 3.6 - 3.7 - 3.8 + fail-fast: false steps: - name: Checkout uses: actions/checkout@v2 @@ -32,4 +33,4 @@ jobs: coverage run -a setup.py test --test-suite tests.with_net - name: Upload coverage uses: codecov/codecov-action@v1.0.15 - if: ${{ always() }} + if: ${{ !cancelled() }} diff --git a/README.md b/README.md index 77886cc..f11d765 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ _Supysonic_ is a Python implementation of the [Subsonic][] server API. -![Build Status](https://github.com/spl0k/supysonic/workflows/Package/badge.svg) +![Build Status](https://github.com/spl0k/supysonic/workflows/Tests/badge.svg) [![codecov](https://codecov.io/gh/spl0k/supysonic/branch/master/graph/badge.svg)](https://codecov.io/gh/spl0k/supysonic) ![Python](https://img.shields.io/badge/python-3.5%2C%203.6%2C%203.7%2C%203.8-blue.svg) diff --git a/ci-requirements.txt b/ci-requirements.txt index e8a0d74..161c59d 100644 --- a/ci-requirements.txt +++ b/ci-requirements.txt @@ -2,4 +2,3 @@ lxml coverage -codecov