epam / fonda

Fonda is a framework which offers scalable and automatic analysis of multiple NGS sequencing data types
Apache License 2.0
8 stars 3 forks source link

GitHub Actions workflow for Fonda #228

Closed madmongoose closed 2 years ago

madmongoose commented 2 years ago

Stored in .github/workflows/main.yml; Start triggers: push to develop branch or manually start in Actions page; 500mb storage; 2000 min per month for jobs; Total concurrent Linux jobs: 20; Maximum concurrent macOS jobs: 5; Artefact storage on a jobs web page: from 0 to 90 days;

Supported runners and hardware resources Hardware specification for Windows and Linux virtual machines:

Action steps:

  1. Runing docker with ubuntu-latest;
  2. Git clone repository;
  3. Setup Java JDK 8 (temirin prebuild);
  4. Building with Gradle (./gradlew -PbuildNumber=ga.${{ github.run_number }}.${{ github.sha }} build zip --no-daemon);
  5. Testing with Gradle (./gradlew jacocoTestReport)
  6. Uploading artefact to job web page in zip;
  7. Geting AWS credentials from GitHub Secrets;
  8. Copying an artefact to AWS S3 Bucket to folder like a branch with name fonda-2.0.0.ga.${{ github.run_number }}.${{ github.sha }}.zip (for example fonda-2.0.0.ga.468b49764403fe39c964a470d270389341dc3014.zip);
  9. Automatic clean tasks.
codecov-commenter commented 2 years ago

Codecov Report

Merging #228 (f63aeab) into develop (63e0d86) will not change coverage. The diff coverage is n/a.

:exclamation: Current head f63aeab differs from pull request most recent head 53da484. Consider uploading reports for the commit 53da484 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #228   +/-   ##
==========================================
  Coverage      92.79%   92.79%           
  Complexity       695      695           
==========================================
  Files            124      124           
  Lines           3569     3569           
  Branches         219      219           
==========================================
  Hits            3312     3312           
  Misses           159      159           
  Partials          98       98           

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 63e0d86...53da484. Read the comment docs.

madmongoose commented 2 years ago

Added release action to workflow; Added releases page to the README; All commits were squashed.