cannin / enhance_nlp_interaction_network_gsoc2020

3 stars 4 forks source link

Cron and GitHub Actions #22

Open cannin opened 4 years ago

cannin commented 4 years ago

Can GitHub Actions run on as a cron job? Can this be set up to run once a week just to flag any issues that might be trigger by some interface changes; this can be on some small batch of articles?

In the README or in response to this issue can you describe what each Github Action is doing?

PritiShaw commented 3 years ago

Hi Mentor

Can GitHub Actions run on as a cron job?

Yes it is possible, let me know the preferred time/day

I have tested it in my fork, you will have to set following "secrets" in the repository settings( I dont have access). MTI_USERNAME and MTI_PASSWORD
These are required to test MTI Batch MeSH processing. Registration Link

PritiShaw commented 3 years ago

GitHub Actions

Github Actions configurations are specified in yml files located in directory .github/workflows . Recommended way to create workflow is using GitHub web UI. Following workflows are set up for the repository. Workflow Name Purpose Trigger
CI Performs Unit test, Quality check and uploads coverage report to Codecov push, pull_request in package branch
MTI_WEBApiConsistencyChecker
  • Checks for interface consistency in MTI WebAPI.
  • Supporting libraries and expected outputs are present in gh-actions/mesh-consistency-checker branch
  • MeSH output is stored as artifact
  • Runs at 00:30 UTC, Thursday
    INDRAConsistencyChecker Checks for interface changes in INDRA API Runs at 00:00 UTC, Thursday

    For consistency check workflow, INDRAConsistencyChecker and _MTIWEBApiConsistencyChecker

    Code Coverage

    Codecov Dashboard The CI workflow uploads code coverage reports to Codecov, the reports are visible in commit and pull requests and can cause CI to fail if commit does not meet the code coverage requirements.

    Limitations