summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-10-18 07:19:53 -0400
committerGitHub <noreply@github.com>2023-10-18 07:19:53 -0400
commit8841db4d27735456086a3c766548e14a9e38496a (patch)
tree4efe760cd17e4fa979fafa7ce9a94c53311892b7
parentBump urllib3 from 1.26.17 to 1.26.18 (#16516) (diff)
downloadsynapse-8841db4d27735456086a3c766548e14a9e38496a.tar.xz
Run trial/integration tests if .ci is modified. (#16512)
-rw-r--r--.github/workflows/tests.yml6
-rw-r--r--changelog.d/16512.misc1
2 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index fcbd40b746..13746608d4 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -37,15 +37,18 @@ jobs:
             - 'Cargo.toml'
             - 'Cargo.lock'
             - '.rustfmt.toml'
+            - '.github/workflows/tests.yml'
 
           trial:
             - 'synapse/**'
             - 'tests/**'
             - 'rust/**'
+            - '.ci/scripts/calculate_jobs.py'
             - 'Cargo.toml'
             - 'Cargo.lock'
             - 'pyproject.toml'
             - 'poetry.lock'
+            - '.github/workflows/tests.yml'
 
           integration:
             - 'synapse/**'
@@ -56,7 +59,9 @@ jobs:
             - 'pyproject.toml'
             - 'poetry.lock'
             - 'docker/**'
+            - '.ci/**'
             - 'scripts-dev/complement.sh'
+            - '.github/workflows/tests.yml'
 
           linting:
             - 'synapse/**'
@@ -70,6 +75,7 @@ jobs:
             - 'mypy.ini'
             - 'pyproject.toml'
             - 'poetry.lock'
+            - '.github/workflows/tests.yml'
 
   check-sampleconfig:
     runs-on: ubuntu-latest
diff --git a/changelog.d/16512.misc b/changelog.d/16512.misc
new file mode 100644
index 0000000000..dcc53510c4
--- /dev/null
+++ b/changelog.d/16512.misc
@@ -0,0 +1 @@
+Run trial & integration tests in continuous integration when `.ci` directory is modified.