Add a CI check of artifact validity (#582)

This commit is contained in:
Marcin Kostrzewa 2020-03-06 17:32:57 +01:00 committed by GitHub
parent 23d33c4438
commit 10539fcc27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -70,6 +70,9 @@ jobs:
sbt runner/assembly
displayName: Build the Uberjar
continueOnError: true
- script: |
./enso.jar --run ci/Test.enso
displayName: Test the Uberjar
- task: CopyFiles@2
inputs:
contents: "enso.jar"
@ -167,5 +170,4 @@ jobs:
- script: |
echo "##vso[task.complete result=Failed;]DONE"
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')
displayName: Fail on Issues
displayName: Fail on Issues

1
ci/Test.enso Normal file
View File

@ -0,0 +1 @@
main = IO.println "Test successful."