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

Improvements to GitHub Actions #1714

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

arcturus2
Copy link
Collaborator

@arcturus2 arcturus2 commented Jun 8, 2022

Prerequisites

  • Reviewed the checklist

  • Reviewed feedback from the "Sonar Cloud" bot. Note that you have to wait
    for the "CI / Unit Tests") to complete first. Failed Unit tests can be
    debugged by adding the label "verbose logging" to the GitHub PR.

Description of the Change

Based on work done in constellation-app/constellation-applications#8 I have updated the GitHub actions here to align with this. Some improvements are as follows:

  • Use the base Ubuntu image for most of the work
  • Use addnab/docker-run-action@v3 to run the docker image
  • 🐎 Reuse Ivy caching
  • Minor label improvements

Alternate Designs

Why Should This Be In Core?

Benefits

The .ivy2 cache was not being restored which meant dependencies were being downloaded in every release. This has been fixed to work which saves 1.5 minutes off the build time

Some quality of life improvements which should make it easier to read the workflows and maintain them in the future

Possible Drawbacks

Verification Process

Applicable Issues

* Use the base Ubuntu image for most of the work
* Use addnab/docker-run-action@v3 to run the docker image
* 🐎 Reuse Ivy caching
* Minor label improvements
Copy link
Collaborator

@antares1470 antares1470 left a comment

Choose a reason for hiding this comment

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

Looks like there is an issue with one of the scripts based on the CI result

Make sure the checked out code is in a sub folder called `constellation`
* Go back to using --mount as the compilation class files were not
  being picked up because they are in the isoloated volume which
  isn't visible to the sonar step.
* Add a path to the testing libraries dependency which is the same
  location
@github-actions
Copy link

github-actions bot commented May 1, 2023

This pull request is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants