Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Do not run tests on tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
metanerd committed Oct 16, 2020
1 parent 29f7443 commit fc2ffd4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ docs:
- echo "Making sure docs are updated"
- make docs
- if [[ -n $(git status --porcelain) ]]; then echo "Please update the docs using make docs"; exit 1; fi
except:
- tags

coverage:
stage: test
image: $CI_REGISTRY/images/mattermost-build-server:20201016_golang-1.14.9
script:
- make coverage
- bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN -n $CI_PIPELINE_IID -Z || echo 'Codecov upload failed'
except:
- tags

lint:
stage: test
Expand All @@ -26,6 +30,8 @@ lint:
- echo "Installing mattermost-govet"
- GO111MODULE=off go get -u github.com/mattermost/mattermost-govet
- make check
except:
- tags

test:
stage: test
Expand Down Expand Up @@ -75,6 +81,8 @@ test:
bash -c 'ulimit -n 8096; make test-all'
- docker logs -f server
- exit $(docker inspect server --format='{{.State.ExitCode}}')
except:
- tags

build:
stage: test
Expand Down

0 comments on commit fc2ffd4

Please sign in to comment.