We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I configured test-rules by:
test-rules
- id: test-rules entry: --entrypoint /bin/promtool prom/prometheus:latest always_run: true files: > (?x)^( files/.*\.rules_test )$
But it seems that this does not pass files to promtool when no test files have changed (i.e. the changes are in the rules, not tests).
promtool
Check prometheus rule files..........................(no files to check)Skipped Unit test prometheus rule files..........................................Failed - hook id: test-rules - exit code: 1 promtool: error: required argument 'test-rule-file' not provided, try --help
This may be a pre-commit limitation and/or a bug in how always_run behaves.
always_run
Tests are run.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I configured
test-rules
by:But it seems that this does not pass files to
promtool
when no test files have changed (i.e. the changes are in the rules, not tests).This may be a pre-commit limitation and/or a bug in how
always_run
behaves.Expected behaviour
Tests are run.
The text was updated successfully, but these errors were encountered: