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

Add --ci flag #217

Merged
merged 4 commits into from
May 16, 2024
Merged

Add --ci flag #217

merged 4 commits into from
May 16, 2024

Conversation

lukfor
Copy link
Collaborator

@lukfor lukfor commented May 16, 2024

The --ci flag activates the CI mode. Instead of automatically storing a new snapshot as per usual, it will now fail the test if no reference snapshot is available.

his enables tests to fail on GitHub actions when a snapshot file was forgotten to be committed.

@lukfor lukfor merged commit 785f473 into features/dependency-graph May 16, 2024
12 checks passed
@lukfor lukfor deleted the features/ci-mode branch May 16, 2024 08:34
@sateeshperi
Copy link
Contributor

yes yes yes!

lukfor added a commit that referenced this pull request May 23, 2024
* Add graph and resolver to support dependencies

* Add coverage flag and improve dry mode

* Add ignore patterns and restructure code

* Use dependency resolver to find tests by path

* Fix coverage when all tests are executed

* Refactore test resolver strategy

* Implement git support, `--only-changed` and `--changed-since`

* Fix bug in resolving includes in Nextflow script

* Update website in header

* Fix issue with tests path in config file

* Add optimized mode for firewall calculation

* Add `--changed-until` flag

* Fix issue in file pattern

* Implement sharding with round-robin

* Add snapshots to dependency graph and improve dot renderer

* Fix issue with test-hash after filename

* Add all new parameters to documentation

* Add `ignore` to documentation

* Add triggers

* Add testcases for dependency resolver

* Add testcases for dependency resolver

* Add `--ci` flag (#217)

* Add `--ci` flag

* Fix wrong commited files

* Fix wrong warning message

* Fix CI mode and add testcase

* Add tutorial to setup GitHub actions

* Update tutorial

* Add github token to env
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