Skip to content

Commit

Permalink
Run tests before making a new release (#1635)
Browse files Browse the repository at this point in the history
* test before make a new release

* remove fetch depth just in case

* make prerelases by default
  • Loading branch information
epassaro authored Jun 11, 2021
1 parent 8ceacc0 commit 48b9938
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions azure-pipelines/release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ jobs:
steps:
- template: templates/default.yml
parameters:
fetchRefdata: true
useMamba: true

- bash: |
cd $(tardis.dir)
source activate tardis
pytest tardis --tardis-refdata=$(refdata.dir)
displayName: 'Run tests'
- bash: |
cd $(tardis.dir)
source activate tardis
Expand All @@ -35,13 +42,15 @@ jobs:
- task: GitHubRelease@1
inputs:
gitHubConnection: 'wkerzendorf'
gitHubConnection: 'tardis-bot'
repositoryName: '$(Build.Repository.Name)'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: 'v$(version)'
title: 'TARDIS v$(version)'
changeLogCompareToRelease: 'lastFullRelease'
isPreRelease: true
addChangeLog: true
changeLogCompareToRelease: 'lastRelease'
changeLogType: 'commitBased'
displayName: 'Create GitHub Release'

0 comments on commit 48b9938

Please sign in to comment.