Skip to content

acc: Automatically rename .gitignore -> out.gitignore - #2428

Closed
denik wants to merge 1 commit into
mainfrom
denik/gitignore-test
Closed

acc: Automatically rename .gitignore -> out.gitignore#2428
denik wants to merge 1 commit into
mainfrom
denik/gitignore-test

Conversation

@denik

@denikdenik commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

Changes

Acceptance test runner will now automatically rename .gitignore to out.gitignore whenever it sees them.

Why

This to avoid manually renaming it in every test. We never want .gitignore in our tests that are related to tests and not cli repo itself.

Note, there is still a use case where renaming in 'script' is needed: when using diff.py to compare results with other pre-recorded output. In that case, local directory is not yet processed by test runner, so mv is still need.

Tests

Using this in #2429

to avoid manually renaming it in every test.
Note, there is still a use case where renaming in 'script' is needed:
when using diff.py to compare results with other pre-recorded output.
In that case, local directory is not yet processed by test runner, so
mv is still need.
@denik
deniktemporarily deployed to test-trigger-is March 4, 2025 16:12 — with GitHub Actions Inactive
@denik
denik marked this pull request as draft March 5, 2025 07:48
@denik

denik commented Mar 5, 2025

Copy link
Copy Markdown
ContributorAuthor

Decided not to complicate test runner for this and keep this inside 'script'.

@denikdenik closed this Mar 5, 2025
@pietern
pietern deleted the denik/gitignore-test branch March 5, 2025 10:33
Sign up for freeto 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.

1 participant

@denik