diff options
author | Erik Johnston <erik@matrix.org> | 2022-06-15 16:27:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 16:27:18 +0100 |
commit | de334ac183f4b17c8dcec8dd70275dc5a19cebfa (patch) | |
tree | 4d1b34e64c8fbb0fbbc625369628b7058be1336b /.github/workflows | |
parent | Type annotations in `synapse.databases.main.devices` (#13025) (diff) | |
download | synapse-de334ac183f4b17c8dcec8dd70275dc5a19cebfa.tar.xz |
Add a CI job to check that schema deltas are in the correct folder. (#13063)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/tests.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5355bfa208..193cb505c3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,14 @@ jobs: - run: scripts-dev/generate_sample_config.sh --check - run: scripts-dev/config-lint.sh + check-schema-delta: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - run: "pip install 'click==8.1.1' 'GitPython>=3.1.20'" + - run: scripts-dev/check_schema_delta.py --force-colors + lint: uses: "matrix-org/backend-meta/.github/workflows/python-poetry-ci.yml@v1" with: @@ -48,7 +56,7 @@ jobs: # Dummy step to gate other tests on without repeating the whole list linting-done: if: ${{ !cancelled() }} # Run this even if prior jobs were skipped - needs: [lint, lint-crlf, lint-newsfile, check-sampleconfig] + needs: [lint, lint-crlf, lint-newsfile, check-sampleconfig, check-schema-delta] runs-on: ubuntu-latest steps: - run: "true" |