mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 00:53:52 +01:00
only fetch develop for check-newsfragments
This commit is contained in:
parent
480d98c91f
commit
83d9ca7122
1 changed files with 4 additions and 4 deletions
|
@ -15,10 +15,6 @@ branches:
|
|||
- develop
|
||||
- /^release-v/
|
||||
|
||||
before_script:
|
||||
- git remote set-branches --add origin develop
|
||||
- git fetch origin develop
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
|
@ -57,6 +53,10 @@ matrix:
|
|||
if: type = pull_request
|
||||
python: 3.6
|
||||
env: TOX_ENV=check-newsfragment
|
||||
script:
|
||||
- git remote set-branches --add origin develop
|
||||
- git fetch origin develop
|
||||
- tox -e $TOX_ENV
|
||||
|
||||
install:
|
||||
- pip install tox
|
||||
|
|
Loading…
Reference in a new issue