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

Fix build CI #94

Merged
merged 23 commits into from
Feb 1, 2022
Merged

Fix build CI #94

merged 23 commits into from
Feb 1, 2022

Conversation

fcollonval
Copy link
Member

@fcollonval fcollonval commented Jan 28, 2022

  • Bump all npm dependencies
    Got hit by a breaking API in react-notifications-component v3.3.0
  • Switch to Python pathlib
  • Use common helper for listing federated extensions
  • Upgrade setup.py
  • Add installation of quetz + quetz-frontend in the CI

run: |
pip install -e .
python -m pip install -e .
working-directory: ${{ inputs.server_folder }}

- name: Install the frontend
shell: bash
Copy link
Member

Choose a reason for hiding this comment

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

bash -l {0} may be missing here as well?
We can also define it as part of the defaults settings: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-set-the-default-shell-and-working-directory

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the tip. Apparently it is not supported within a custom action definition

@fcollonval fcollonval marked this pull request as ready for review February 1, 2022 09:25
@wolfv
Copy link
Member

wolfv commented Feb 1, 2022

Awesome!

ref: master
path: ${{ inputs.server_folder }}

- uses: conda-incubator/setup-miniconda@v2
Copy link
Member

Choose a reason for hiding this comment

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

Do you think we could use our micromamba action here?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the suggestion.

Is it possible to set up package caching with that action?

@wolfv
Copy link
Member

wolfv commented Feb 1, 2022

Happy to merge this. Do you want to squash commits a bit or shoudl we keep this history?

@fcollonval
Copy link
Member Author

Happy to merge this. Do you want to squash commits a bit or shoudl we keep this history?

I usually like to apply Squash and Merge instead of simple Merge on my PR. So feel free to do so with this PR.

@wolfv wolfv merged commit 86a41de into mamba-org:main Feb 1, 2022
@wolfv
Copy link
Member

wolfv commented Feb 1, 2022

Done! Thanks!

Some people don't like all commits squashed :)

@fcollonval fcollonval deleted the fix/build-ci branch February 1, 2022 13:34
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