diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2020-01-16 20:21:35 +0100 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2020-01-16 19:21:35 +0000 |
commit | 8dd5ab2a14da937bb54a6e0310a1f51042a679d4 (patch) | |
tree | 3c1bcf1f2f0f727a9471159088a375d2d41b4f79 /.drone.yml | |
parent | c76c70a16ce6c1d472059ea3e03206abb5ed884d (diff) | |
download | gitea-8dd5ab2a14da937bb54a6e0310a1f51042a679d4.tar.gz gitea-8dd5ab2a14da937bb54a6e0310a1f51042a679d4.zip |
ci: simplify tag/release by always running coverage (#9774)
* ci: simplify tag/release by always running coverage
* use mod and vendor for unit test coverage
* remove not needed lfs for unit test
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/.drone.yml b/.drone.yml index 3e02a47c44..565fe1be15 100644 --- a/.drone.yml +++ b/.drone.yml @@ -124,52 +124,6 @@ steps: TAGS: bindata sqlite sqlite_unlock_notify GITHUB_READ_TOKEN: from_secret: github_read_token - when: - branch: - - master - event: - - push - - pull_request - - - name: release-test - pull: always - image: golang:1.13 - commands: - - make test - environment: - GOPROXY: off - TAGS: bindata sqlite sqlite_unlock_notify - when: - branch: - - "release/*" - event: - - push - - pull_request - - - name: tag-pre-condition - pull: always - image: alpine/git - commands: - - git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA} - depends_on: - - build - when: - event: - - tag - - - name: tag-test - pull: always - image: golang:1.13 - commands: - - make test - environment: - GOPROXY: off - TAGS: bindata - depends_on: - - tag-pre-condition - when: - event: - - tag - name: test-mysql pull: always @@ -185,30 +139,6 @@ steps: TEST_LDAP: 1 depends_on: - build - when: - branch: - - master - event: - - push - - pull_request - - - name: tag-test-mysql - pull: always - image: golang:1.13 - commands: - - "curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash" - - apt-get install -y git-lfs - - timeout -s ABRT 20m make test-mysql-migration - - timeout -s ABRT 20m make test-mysql - environment: - GOPROXY: off - TAGS: bindata - TEST_LDAP: 1 - depends_on: - - build - when: - event: - - tag - name: test-mysql8 pull: always |