Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Run trial/integration tests if .ci is modified. #16512

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,18 @@ jobs:
- 'Cargo.toml'
- 'Cargo.lock'
- '.rustfmt.toml'
- '.github/workflows/tests.yml'
Copy link
Contributor

Choose a reason for hiding this comment

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

At what point are we reinventing make here? (Pedantry: make wouldn't help us here because there's no "I have run tests" file whose timestamp can be used to decide what needs to be run.)

Copy link
Member Author

Choose a reason for hiding this comment

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

🤷 Idk, this is always going to be a bit manual though, isn't it? (I hate CI.)


trial:
- 'synapse/**'
- 'tests/**'
- 'rust/**'
- '.ci/scripts/calculate_jobs.py'
- 'Cargo.toml'
- 'Cargo.lock'
- 'pyproject.toml'
- 'poetry.lock'
- '.github/workflows/tests.yml'

integration:
- 'synapse/**'
Expand All @@ -56,7 +59,9 @@ jobs:
- 'pyproject.toml'
- 'poetry.lock'
- 'docker/**'
- '.ci/**'
- 'scripts-dev/complement.sh'
- '.github/workflows/tests.yml'

linting:
- 'synapse/**'
Expand All @@ -70,6 +75,7 @@ jobs:
- 'mypy.ini'
- 'pyproject.toml'
- 'poetry.lock'
- '.github/workflows/tests.yml'

check-sampleconfig:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions changelog.d/16512.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Run trial & integration tests in continuous integration when `.ci` directory is modified.
Loading