Skip to content

Conversation

@eksperimental
Copy link
Contributor

@eksperimental eksperimental commented Dec 2, 2025

Avoids unnecessary changes by being selective on when to launch the action.
Avoid unnecessary checks for certain jobs.
If a test fails, `continue-on-error` will not be evaluated, if it's not set.

https://github.com/eksperimental-forks/elixir/actions/runs/19824449905/job/56794214695#step:9:46

    2196 doctests, 4913 tests, 1 failure (18 excluded)
    make: *** [Makefile:289: test_stdlib] Error 2
    Error: Process completed with exit code 2.
    Error: The step failed and an error occurred when attempting to determine whether to continue on error.
    Error: The template is not valid. .github/workflows/ci.yml (Line: 78, Col: 28): Unexpected value ''
@eksperimental eksperimental changed the title Feature/ci improve ci CI: Speed up jobs and abtract documentation building Dec 2, 2025
push:
paths-ignore:
- "lib/**/*.md"
paths: &paths-filter
Copy link
Member

Choose a reason for hiding this comment

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

Can you please revert the precise "paths"? Those other files change rarely and one day we may add a markdown fixture that actually changes the test, and we will spend a long time without noticing it. Unless the files are common and change frequently and they do non't need to run (the case for lib/*/pages/**/*.md, we shouldn't worry about excluding them).

- otp_version: "28.1"
erlc_opts: "warnings_as_errors"
deterministic: true
skip_tests: true
Copy link
Member

Choose a reason for hiding this comment

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

We don't want to add new CI entries exactly because for building docs we already have to compile and what not. And doing everything twice is wasteful.

Copy link
Member

Choose a reason for hiding this comment

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

So to be clear, we should still have a single entry that compiles, run docs, and test for deterministic, as it was done before. :)

@eksperimental
Copy link
Contributor Author

I'm closing as it is easier to open up a new PR due to the requested changes

@eksperimental eksperimental deleted the feature/ci-improve-ci branch December 3, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants