adding codecov token + improving GitHub jobs names

This commit is contained in:
Julien Neuhart
2019-08-20 12:23:25 +02:00
parent bb6a3471d5
commit bca8b6b606
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ on:
jobs: jobs:
publish: publish:
name: Publish name: Publish to Docker Hub
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1

View File

@@ -3,10 +3,10 @@ on: [push, pull_request]
jobs: jobs:
tests: tests:
name: Tests name: Lint, tests and code coverage
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- run: make lint - run: make lint
- run: make tests CODE_COVERAGE=1 - run: make tests CODE_COVERAGE=1
- run: bash <(curl -s https://codecov.io/bash) - run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}