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

Merge workflows on GitHub Actions #57

Closed
8 tasks done
redeboer opened this issue Apr 20, 2022 · 0 comments · Fixed by #99
Closed
8 tasks done

Merge workflows on GitHub Actions #57

redeboer opened this issue Apr 20, 2022 · 0 comments · Fixed by #99
Assignees
Labels
🖱️ DX Improvements to the Developer Experience

Comments

@redeboer
Copy link
Member

redeboer commented Apr 20, 2022

GitHub Actions can now restart failed jobs within one workflow separately. Originally, one had to restart all jobs in the workflow if one of them failed, which was the original motivation for splitting the workflows into separate files. An example are linkcheck.yml and ci-docs.yml. Both are related to documentation, but were split into separate workflows, because linkcheck can be unstable. They can now be merged.

Implementation is done through ComPWA/actions and has been tested extensively in ComPWA/ampform-dpd#41.

Tasks

  1. 7 of 7
    🖱️ DX
    redeboer

Related PRs

  1. ✨ Feature
    redeboer
  2. 🖱️ DX
    redeboer
  3. 🖱️ DX
    redeboer
  4. 🖱️ DX
    redeboer
  5. 🖱️ DX
    redeboer
  6. 🖱️ DX
    redeboer
  7. 🖱️ DX
    redeboer
@redeboer redeboer added the 🖱️ DX Improvements to the Developer Experience label Apr 20, 2022
@redeboer redeboer self-assigned this Apr 20, 2022
redeboer added a commit to redeboer/ComPWA-polarimetry that referenced this issue Jan 19, 2023
redeboer added a commit to ComPWA/polarimetry that referenced this issue Jan 19, 2023
* DOC: remove banner from documentation

* DX: add python version to cache hash

* DX: avoid running `pip install -U pip`
  This might result in problems with the cache. The standard `pip` version
  that comes with the OS and with the Python version should be used.

* DX: improve Sphinx missing paths message

* DX: insert figures only if available
  This makes it possible to run `tox -e doc` without having run the
  notebooks before and fixes
  https://github.com/ComPWA/polarimetry/actions/runs/3958027834/jobs/6779092889

* DX: remove names from `pip install` steps
  More concise and avoids having different step names in the log. The
  graphical interface also displays single-step runs just.

* DX: rename pre-commit autoupdate job to active tense

* DX: rename "Style" workflow to "Style checks"

* DX: run `linkcheck` on GitHub Actions
  See also ComPWA/policy#57

* DX: set Python version centrally through environment variable

* DX: share caches of `pip install` steps

* DX: use same name for both requirements jobs
  This merges both workflow results on the overview page
  https://github.com/ComPWA/polarimetry/actions

* FIX: add `sphinx.ext.githubpages` extension

* DX: move cache steps closer to where they are needed
  Easier to spot when the hash key does not match the install statement

* MAINT: run Documentation workflow on `ubuntu-22.04`

* MAINT: run `linkcheck` on https://github.com/ComPWA/polarimetry
  No need to ignore anymore now that it is public

* MAINT: sort `myst_substitutions`

* MAINT: sort Sphinx extensions

Co-authored-by: GitHub <noreply@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖱️ DX Improvements to the Developer Experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant