mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-17 20:52:14 +01:00
updating Travis and GitHub Actions workflows
This commit is contained in:
6
.github/workflows/push.yml
vendored
6
.github/workflows/push.yml
vendored
@@ -7,6 +7,6 @@ jobs:
|
|||||||
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) -t ${{ secrets.CODECOV_TOKEN }}
|
#- run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
|
||||||
@@ -17,7 +17,10 @@ stages:
|
|||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: tests
|
- stage: tests
|
||||||
script: make lint tests
|
script:
|
||||||
|
- make lint
|
||||||
|
- make tests CODE_COVERAGE=1
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
- stage: publish
|
- stage: publish
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
script: make publish VERSION=$TRAVIS_TAG DOCKER_USER=$DOCKER_USER DOCKER_PASSWORD=$DOCKER_PASS
|
script: make publish VERSION=$TRAVIS_TAG DOCKER_USER=$DOCKER_USER DOCKER_PASSWORD=$DOCKER_PASS
|
||||||
Reference in New Issue
Block a user