Fix pacman command not found, run tests with coverage, release 1.0.0rc4
Signed-off-by: Dan Yeaw <dan@yeaw.me>
This commit is contained in:
@ -10,7 +10,7 @@ jobs:
|
||||
- os: linux
|
||||
dist: xenial
|
||||
python: 3.7.2
|
||||
env: PYTEST_ADDOPTS="--doctest-modules"
|
||||
env: PYTEST_ADDOPTS="--cov=gaphor"
|
||||
sudo: true
|
||||
before_install: 'sudo apt-get update -q && sudo apt-get install --no-install-recommends
|
||||
-y python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev
|
||||
|
@ -56,25 +56,30 @@ jobs:
|
||||
- task: PublishTestResults@2
|
||||
condition: not(canceled())
|
||||
inputs:
|
||||
testResultsFiles: 'junit/test-results.xml'
|
||||
testRunTitle: 'Publish test results'
|
||||
testResultsFiles: junit/test-results.xml
|
||||
testRunTitle: Publish Test Results
|
||||
|
||||
- task: ShellScript@2
|
||||
inputs:
|
||||
scriptPath: win-installer/build.sh
|
||||
args: $tagName
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
|
||||
- script: |
|
||||
set MSYS2_ROOT=%CD:~0,2%\msys64
|
||||
%MSYS2_ROOT%\cmd\msystem MINGW64
|
||||
bash -lc "win-installer/build.sh"
|
||||
displayName: Create Windows Binaries
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
|
||||
env:
|
||||
MSYSTEM: $(MSYSTEM)
|
||||
CHERE_INVOKING: yes
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: 'Copy Windows Binaries'
|
||||
displayName: Copy Windows Binaries
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
|
||||
inputs:
|
||||
sourceFolder: win-installer
|
||||
contents: '*.exe'
|
||||
targetFolder: $(Build.ArtifactStagingDirectory)
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
|
||||
|
||||
- task: GitHubRelease@0
|
||||
displayName: 'Create GitHub Release'
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
|
||||
displayName: Create GitHub Release
|
||||
inputs:
|
||||
gitHubConnection: GaphorConnection
|
||||
respositoryName: gaphor/gaphor
|
||||
@ -83,5 +88,3 @@ jobs:
|
||||
target: $(Build.SourceVersion)
|
||||
assets: $(Build.ArtifactStagingDirectory)/*.exe
|
||||
isDraft: true
|
||||
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "gaphor"
|
||||
version = "1.0.0rc3"
|
||||
version = "1.0.0rc4"
|
||||
description = "Gaphor is the simple modeling tool written in Python."
|
||||
authors = [
|
||||
"Arjan J. Molenaar <gaphor@gmail.com>",
|
||||
|
@ -2,4 +2,3 @@
|
||||
testpaths = gaphor tests docs
|
||||
doctest-extension=.rst
|
||||
python_files = test_*.py
|
||||
addopts = --doctest-modules --cov=gaphor/
|
||||
|
Reference in New Issue
Block a user