Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare repository for next .github release and SBT build improvements #148

Merged
merged 30 commits into from
Jun 21, 2020

Conversation

alejandrohdezma
Copy link
Contributor

What has been done in this PR?

Prepare project for next .github release

  • Add ci-publish command alias that will be used instead of ci-release for publishing artifacts.
  • Move docs templates to docs folder (as mdoc is expected) & microsite files to microsite folder.
  • Run github before ci-docs & ci-publish.
  • Remove ci-microsite (it gets inline in ci-docs).
  • Add actions.yml file that will be used by next .github release workflows to read pre/post conditions to run before/after ci-* commands.

Simplify SBT build

  • Re-order settings.
  • Remove unneeded settings.
  • Add sbt-remove-test-from-pom to avoid publishing test dependencies to POM.
  • Add sbt-modules to simplify build.
    • Move all "modules" inside modules directory
  • Add sbt-codecov to run tests with coverage and auto-upload to Codecov.

Improve documentation

  • Add README template
  • Remove old sbt-org-policies markers.

Update versions

  • Update SBT version
  • Update plugins to latest versions
  • Update Scala versions

@codecov
Copy link

codecov bot commented Jun 21, 2020

Codecov Report

Merging #148 into master will decrease coverage by 1.91%.
The diff coverage is 80.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
- Coverage   97.60%   95.68%   -1.92%     
==========================================
  Files          10       10              
  Lines         125      139      +14     
  Branches        4        2       -2     
==========================================
+ Hits          122      133      +11     
- Misses          3        6       +3     
Impacted Files Coverage Δ
...ysevendeg/scalacheck/combinators/Combinators.scala 100.00% <ø> (ø)
...ortysevendeg/scalacheck/datetime/GenDateTime.scala 80.00% <ø> (ø)
...ysevendeg/scalacheck/datetime/instances/joda.scala 100.00% <ø> (ø)
...scalacheck/datetime/jdk8/granularity/package.scala 100.00% <ø> (ø)
...scalacheck/datetime/joda/granularity/package.scala 100.00% <ø> (ø)
...ala/com/fortysevendeg/scalacheck/magic/Magic.scala 100.00% <ø> (ø)
...ysevendeg/scalacheck/datetime/instances/jdk8.scala 70.00% <50.00%> (ø)
...rtysevendeg/scalacheck/datetime/joda/GenJoda.scala 94.44% <50.00%> (ø)
...ortysevendeg/scalacheck/datetime/Granularity.scala 100.00% <100.00%> (ø)
...rtysevendeg/scalacheck/datetime/jdk8/GenJdk8.scala 100.00% <100.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0702cf3...e58dc84. Read the comment docs.

Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great cleanup! Thanks @alejandrohdezma !

@alejandrohdezma alejandrohdezma merged commit 4c90f39 into master Jun 21, 2020
@alejandrohdezma alejandrohdezma deleted the prepare-next-dot-github-update branch June 21, 2020 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants