updating Travis and GitHub Actions workflows

This commit is contained in:
Julien Neuhart
2019-08-27 11:07:05 +02:00
parent f8b63d487a
commit dd2542dcd6
2 changed files with 7 additions and 4 deletions

View File

@@ -7,6 +7,6 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- run: make lint
- run: make tests CODE_COVERAGE=1
- run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
#- run: make lint
#- run: make tests CODE_COVERAGE=1
#- run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}

View File

@@ -17,7 +17,10 @@ stages:
jobs:
include:
- stage: tests
script: make lint tests
script:
- make lint
- make tests CODE_COVERAGE=1
- bash <(curl -s https://codecov.io/bash)
- stage: publish
if: tag IS present
script: make publish VERSION=$TRAVIS_TAG DOCKER_USER=$DOCKER_USER DOCKER_PASSWORD=$DOCKER_PASS