Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
Fix scripted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Aug 20, 2021
1 parent ca297b6 commit fbf51a8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/sbt-test/interplay/library-with-plugin/test
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ $ exec git branch -u origin/main
$ exists mock-sbt-plugin/target/scripted-ran

# Make sure publishSigned ran on every project with the right publish settings
> contains target/scala-2.12/publish-version no-publish:1.2.3
#TODO:
#> contains target/scala-3/publish-version no-publish:1.2.3
> contains target/scala-2.13/publish-version no-publish:1.2.3
> contains mock-sbt-plugin/target/scala-2.12/sbt-1.0/publish-version sonatype-local-bundle:1.2.3
> contains mock-library/target/scala-2.12/publish-version sonatype-local-bundle:1.2.3
#TODO:
#> contains mock-library/target/scala-3/publish-version sonatype-local-bundle:1.2.3
> contains mock-library/target/scala-2.13/publish-version sonatype-local-bundle:1.2.3
> contains mock-sbt-library/target/scala-2.12/publish-version sonatype-local-bundle:1.2.3

Expand Down
6 changes: 4 additions & 2 deletions src/sbt-test/interplay/library-with-root/test
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ $ exec git branch -u origin/main
> release with-defaults

# Make sure publishSigned ran on every project with the right publish settings
> contains target/scala-2.12/publish-version no-publish:1.2.3
#TODO:
#> contains target/scala-3/publish-version no-publish:1.2.3
> contains target/scala-2.13/publish-version no-publish:1.2.3
> contains mock-library/target/scala-2.12/publish-version sonatype-local-bundle:1.2.3
#TODO:
#> contains mock-library/target/scala-3/publish-version sonatype-local-bundle:1.2.3
> contains mock-library/target/scala-2.13/publish-version sonatype-local-bundle:1.2.3

# Make sure sonatypeRelease ran only in the root project
Expand Down
3 changes: 2 additions & 1 deletion src/sbt-test/interplay/library/test
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ $ exec git diff
> release with-defaults

# Make sure publishSigned ran
> contains target/scala-2.12/publish-version sonatype-local-bundle:1.2.3
#TODO:
#> contains target/scala-3/publish-version sonatype-local-bundle:1.2.3
> contains target/scala-2.13/publish-version sonatype-local-bundle:1.2.3

# Make sure sonatypeRelease ran
Expand Down

0 comments on commit fbf51a8

Please sign in to comment.