2021-04-09 12:54:30 +03:00
|
|
|
name: Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ["develop", "release-*"]
|
|
|
|
pull_request:
|
|
|
|
|
2021-07-22 13:35:06 +03:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
2021-08-05 13:22:27 +03:00
|
|
|
|
2021-04-09 12:54:30 +03:00
|
|
|
jobs:
|
2022-03-01 22:47:02 +03:00
|
|
|
check-sampleconfig:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-python@v2
|
2022-04-20 19:33:20 +03:00
|
|
|
- run: pip install .
|
2022-03-02 21:00:26 +03:00
|
|
|
- run: scripts-dev/generate_sample_config.sh --check
|
2022-03-04 15:01:51 +03:00
|
|
|
- run: scripts-dev/config-lint.sh
|
2022-03-01 22:47:02 +03:00
|
|
|
|
2022-06-15 18:27:18 +03:00
|
|
|
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
|
|
|
|
|
2021-04-09 12:54:30 +03:00
|
|
|
lint:
|
2022-04-12 19:35:48 +03:00
|
|
|
uses: "matrix-org/backend-meta/.github/workflows/python-poetry-ci.yml@v1"
|
2022-04-27 16:03:44 +03:00
|
|
|
with:
|
|
|
|
typechecking-extras: "all"
|
2021-04-09 12:54:30 +03:00
|
|
|
|
|
|
|
lint-crlf:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Check line endings
|
|
|
|
run: scripts-dev/check_line_terminators.sh
|
|
|
|
|
|
|
|
lint-newsfile:
|
|
|
|
if: ${{ github.base_ref == 'develop' || contains(github.base_ref, 'release-') }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-05-26 16:14:43 +03:00
|
|
|
with:
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
fetch-depth: 0
|
2021-04-09 12:54:30 +03:00
|
|
|
- uses: actions/setup-python@v2
|
2022-03-01 22:47:02 +03:00
|
|
|
- run: "pip install 'towncrier>=18.6.0rc1'"
|
2022-03-02 21:00:26 +03:00
|
|
|
- run: scripts-dev/check-newsfragment.sh
|
2021-08-10 14:15:10 +03:00
|
|
|
env:
|
|
|
|
PULL_REQUEST_NUMBER: ${{ github.event.number }}
|
2021-04-09 12:54:30 +03:00
|
|
|
|
2022-08-17 13:17:04 +03:00
|
|
|
lint-pydantic:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: matrix-org/setup-python-poetry@v1
|
|
|
|
with:
|
|
|
|
extras: "all"
|
|
|
|
- run: poetry run scripts-dev/check_pydantic_models.py
|
|
|
|
|
2021-04-09 12:54:30 +03:00
|
|
|
# Dummy step to gate other tests on without repeating the whole list
|
|
|
|
linting-done:
|
2021-07-14 16:41:23 +03:00
|
|
|
if: ${{ !cancelled() }} # Run this even if prior jobs were skipped
|
2022-08-17 13:17:04 +03:00
|
|
|
needs: [lint, lint-crlf, lint-newsfile, lint-pydantic, check-sampleconfig, check-schema-delta]
|
2021-04-09 12:54:30 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- run: "true"
|
|
|
|
|
2022-09-05 15:31:42 +03:00
|
|
|
calculate-test-jobs:
|
2021-07-14 16:41:23 +03:00
|
|
|
if: ${{ !cancelled() && !failure() }} # Allow previous steps to be skipped, but not fail
|
2021-04-09 12:54:30 +03:00
|
|
|
needs: linting-done
|
|
|
|
runs-on: ubuntu-latest
|
2022-09-05 15:31:42 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
- id: get-matrix
|
|
|
|
run: .ci/scripts/calculate_jobs.py
|
|
|
|
outputs:
|
|
|
|
trial_test_matrix: ${{ steps.get-matrix.outputs.trial_test_matrix }}
|
|
|
|
sytest_test_matrix: ${{ steps.get-matrix.outputs.sytest_test_matrix }}
|
|
|
|
|
|
|
|
trial:
|
|
|
|
if: ${{ !cancelled() && !failure() }} # Allow previous steps to be skipped, but not fail
|
|
|
|
needs: calculate-test-jobs
|
|
|
|
runs-on: ubuntu-latest
|
2021-04-09 12:54:30 +03:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-09-05 15:31:42 +03:00
|
|
|
job: ${{ fromJson(needs.calculate-test-jobs.outputs.trial_test_matrix) }}
|
2021-04-09 12:54:30 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: sudo apt-get -qq install xmlsec1
|
2022-09-05 15:31:42 +03:00
|
|
|
- name: Set up PostgreSQL ${{ matrix.job.postgres-version }}
|
|
|
|
if: ${{ matrix.job.postgres-version }}
|
2021-04-09 12:54:30 +03:00
|
|
|
run: |
|
|
|
|
docker run -d -p 5432:5432 \
|
|
|
|
-e POSTGRES_PASSWORD=postgres \
|
|
|
|
-e POSTGRES_INITDB_ARGS="--lc-collate C --lc-ctype C --encoding UTF8" \
|
2022-09-05 15:31:42 +03:00
|
|
|
postgres:${{ matrix.job.postgres-version }}
|
2022-04-12 19:41:21 +03:00
|
|
|
- uses: matrix-org/setup-python-poetry@v1
|
2021-04-09 12:54:30 +03:00
|
|
|
with:
|
2022-09-05 15:31:42 +03:00
|
|
|
python-version: ${{ matrix.job.python-version }}
|
|
|
|
extras: ${{ matrix.job.extras }}
|
2021-04-09 12:54:30 +03:00
|
|
|
- name: Await PostgreSQL
|
2022-09-05 15:31:42 +03:00
|
|
|
if: ${{ matrix.job.postgres-version }}
|
2021-04-09 12:54:30 +03:00
|
|
|
timeout-minutes: 2
|
|
|
|
run: until pg_isready -h localhost; do sleep 1; done
|
2022-04-12 19:41:21 +03:00
|
|
|
- run: poetry run trial --jobs=2 tests
|
2021-04-09 12:54:30 +03:00
|
|
|
env:
|
2022-09-05 15:31:42 +03:00
|
|
|
SYNAPSE_POSTGRES: ${{ matrix.job.database == 'postgres' || '' }}
|
2021-04-09 12:54:30 +03:00
|
|
|
SYNAPSE_POSTGRES_HOST: localhost
|
|
|
|
SYNAPSE_POSTGRES_USER: postgres
|
|
|
|
SYNAPSE_POSTGRES_PASSWORD: postgres
|
|
|
|
- name: Dump logs
|
2021-10-12 23:09:49 +03:00
|
|
|
# Logs are most useful when the command fails, always include them.
|
|
|
|
if: ${{ always() }}
|
2021-04-09 12:54:30 +03:00
|
|
|
# Note: Dumps to workflow logs instead of using actions/upload-artifact
|
|
|
|
# This keeps logs colocated with failing jobs
|
|
|
|
# It also ignores find's exit code; this is a best effort affair
|
|
|
|
run: >-
|
|
|
|
find _trial_temp -name '*.log'
|
|
|
|
-exec echo "::group::{}" \;
|
|
|
|
-exec cat {} \;
|
|
|
|
-exec echo "::endgroup::" \;
|
|
|
|
|| true
|
|
|
|
|
|
|
|
trial-olddeps:
|
2022-04-12 13:50:11 +03:00
|
|
|
# Note: sqlite only; no postgres
|
2021-07-14 16:41:23 +03:00
|
|
|
if: ${{ !cancelled() && !failure() }} # Allow previous steps to be skipped, but not fail
|
2021-04-09 12:54:30 +03:00
|
|
|
needs: linting-done
|
2022-09-06 14:43:04 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2021-04-09 12:54:30 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-09-06 14:43:04 +03:00
|
|
|
|
2022-09-06 21:01:37 +03:00
|
|
|
- name: Install Rust
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: 1.61.0
|
|
|
|
override: true
|
|
|
|
|
2022-09-06 14:43:04 +03:00
|
|
|
# There aren't wheels for some of the older deps, so we need to install
|
|
|
|
# their build dependencies
|
|
|
|
- run: |
|
|
|
|
sudo apt-get -qq install build-essential libffi-dev python-dev \
|
|
|
|
libxml2-dev libxslt-dev xmlsec1 zlib1g-dev libjpeg-dev libwebp-dev
|
|
|
|
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: '3.7'
|
|
|
|
|
|
|
|
# Calculating the old-deps actually takes a bunch of time, so we cache the
|
|
|
|
# pyproject.toml / poetry.lock. We need to cache pyproject.toml as
|
|
|
|
# otherwise the `poetry install` step will error due to the poetry.lock
|
|
|
|
# file being outdated.
|
|
|
|
#
|
|
|
|
# This caches the output of `Prepare old deps`, which should generate the
|
|
|
|
# same `pyproject.toml` and `poetry.lock` for a given `pyproject.toml` input.
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
id: cache-poetry-old-deps
|
|
|
|
name: Cache poetry.lock
|
2021-04-09 12:54:30 +03:00
|
|
|
with:
|
2022-09-06 14:43:04 +03:00
|
|
|
path: |
|
|
|
|
poetry.lock
|
|
|
|
pyproject.toml
|
|
|
|
key: poetry-old-deps2-${{ hashFiles('pyproject.toml') }}
|
|
|
|
- name: Prepare old deps
|
|
|
|
if: steps.cache-poetry-old-deps.outputs.cache-hit != 'true'
|
|
|
|
run: .ci/scripts/prepare_old_deps.sh
|
|
|
|
|
|
|
|
# We only now install poetry so that `setup-python-poetry` caches the
|
|
|
|
# right poetry.lock's dependencies.
|
|
|
|
- uses: matrix-org/setup-python-poetry@v1
|
|
|
|
with:
|
|
|
|
python-version: '3.7'
|
|
|
|
extras: "all test"
|
|
|
|
|
2022-09-06 21:01:37 +03:00
|
|
|
- run: poetry run trial -j2 tests
|
2021-04-09 12:54:30 +03:00
|
|
|
- name: Dump logs
|
2021-10-12 23:09:49 +03:00
|
|
|
# Logs are most useful when the command fails, always include them.
|
|
|
|
if: ${{ always() }}
|
2021-04-09 12:54:30 +03:00
|
|
|
# Note: Dumps to workflow logs instead of using actions/upload-artifact
|
|
|
|
# This keeps logs colocated with failing jobs
|
|
|
|
# It also ignores find's exit code; this is a best effort affair
|
|
|
|
run: >-
|
|
|
|
find _trial_temp -name '*.log'
|
|
|
|
-exec echo "::group::{}" \;
|
|
|
|
-exec cat {} \;
|
|
|
|
-exec echo "::endgroup::" \;
|
|
|
|
|| true
|
|
|
|
|
|
|
|
trial-pypy:
|
|
|
|
# Very slow; only run if the branch name includes 'pypy'
|
2022-04-12 19:41:21 +03:00
|
|
|
# Note: sqlite only; no postgres. Completely untested since poetry move.
|
2021-07-14 16:41:23 +03:00
|
|
|
if: ${{ contains(github.ref, 'pypy') && !failure() && !cancelled() }}
|
2021-04-09 12:54:30 +03:00
|
|
|
needs: linting-done
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-12-21 22:37:04 +03:00
|
|
|
python-version: ["pypy-3.7"]
|
2022-04-12 19:41:21 +03:00
|
|
|
extras: ["all"]
|
2021-04-09 12:54:30 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-04-12 19:41:21 +03:00
|
|
|
# Install libs necessary for PyPy to build binary wheels for dependencies
|
2021-04-09 12:54:30 +03:00
|
|
|
- run: sudo apt-get -qq install xmlsec1 libxml2-dev libxslt-dev
|
2022-04-12 19:41:21 +03:00
|
|
|
- uses: matrix-org/setup-python-poetry@v1
|
2021-04-09 12:54:30 +03:00
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
2022-04-12 19:41:21 +03:00
|
|
|
extras: ${{ matrix.extras }}
|
|
|
|
- run: poetry run trial --jobs=2 tests
|
2021-04-09 12:54:30 +03:00
|
|
|
- name: Dump logs
|
2021-10-12 23:09:49 +03:00
|
|
|
# Logs are most useful when the command fails, always include them.
|
|
|
|
if: ${{ always() }}
|
2021-04-09 12:54:30 +03:00
|
|
|
# Note: Dumps to workflow logs instead of using actions/upload-artifact
|
|
|
|
# This keeps logs colocated with failing jobs
|
|
|
|
# It also ignores find's exit code; this is a best effort affair
|
|
|
|
run: >-
|
|
|
|
find _trial_temp -name '*.log'
|
|
|
|
-exec echo "::group::{}" \;
|
|
|
|
-exec cat {} \;
|
|
|
|
-exec echo "::endgroup::" \;
|
|
|
|
|| true
|
|
|
|
|
|
|
|
sytest:
|
2021-07-14 16:41:23 +03:00
|
|
|
if: ${{ !failure() && !cancelled() }}
|
2022-09-05 15:31:42 +03:00
|
|
|
needs: calculate-test-jobs
|
2021-04-09 12:54:30 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2022-09-05 15:31:42 +03:00
|
|
|
image: matrixdotorg/sytest-synapse:${{ matrix.job.sytest-tag }}
|
2021-04-09 12:54:30 +03:00
|
|
|
volumes:
|
|
|
|
- ${{ github.workspace }}:/src
|
|
|
|
env:
|
2021-09-20 19:35:16 +03:00
|
|
|
SYTEST_BRANCH: ${{ github.head_ref }}
|
2022-09-05 15:31:42 +03:00
|
|
|
POSTGRES: ${{ matrix.job.postgres && 1}}
|
|
|
|
MULTI_POSTGRES: ${{ (matrix.job.postgres == 'multi-postgres') && 1}}
|
|
|
|
WORKERS: ${{ matrix.job.workers && 1 }}
|
|
|
|
BLACKLIST: ${{ matrix.job.workers && 'synapse-blacklist-with-workers' }}
|
2021-08-11 22:08:48 +03:00
|
|
|
TOP: ${{ github.workspace }}
|
2021-04-09 12:54:30 +03:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-09-05 15:31:42 +03:00
|
|
|
job: ${{ fromJson(needs.calculate-test-jobs.outputs.sytest_test_matrix) }}
|
2021-04-09 12:54:30 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Prepare test blacklist
|
2021-08-11 21:59:57 +03:00
|
|
|
run: cat sytest-blacklist .ci/worker-blacklist > synapse-blacklist-with-workers
|
2022-09-06 21:01:37 +03:00
|
|
|
- name: Install Rust
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: 1.61.0
|
|
|
|
override: true
|
2021-04-09 12:54:30 +03:00
|
|
|
- name: Run SyTest
|
|
|
|
run: /bootstrap.sh synapse
|
|
|
|
working-directory: /src
|
2021-06-02 19:10:37 +03:00
|
|
|
- name: Summarise results.tap
|
2021-04-09 12:54:30 +03:00
|
|
|
if: ${{ always() }}
|
2021-06-02 19:10:37 +03:00
|
|
|
run: /sytest/scripts/tap_to_gha.pl /logs/results.tap
|
2021-04-09 12:54:30 +03:00
|
|
|
- name: Upload SyTest logs
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
2022-09-05 15:31:42 +03:00
|
|
|
name: Sytest Logs - ${{ job.status }} - (${{ join(matrix.job.*, ', ') }})
|
2021-04-09 12:54:30 +03:00
|
|
|
path: |
|
|
|
|
/logs/results.tap
|
|
|
|
/logs/**/*.log*
|
|
|
|
|
2021-10-18 18:14:12 +03:00
|
|
|
export-data:
|
|
|
|
if: ${{ !failure() && !cancelled() }} # Allow previous steps to be skipped, but not fail
|
|
|
|
needs: [linting-done, portdb]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
TOP: ${{ github.workspace }}
|
|
|
|
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
image: postgres
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
env:
|
|
|
|
POSTGRES_PASSWORD: "postgres"
|
|
|
|
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"
|
|
|
|
options: >-
|
|
|
|
--health-cmd pg_isready
|
|
|
|
--health-interval 10s
|
|
|
|
--health-timeout 5s
|
|
|
|
--health-retries 5
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: sudo apt-get -qq install xmlsec1
|
2022-04-08 22:18:54 +03:00
|
|
|
- uses: matrix-org/setup-python-poetry@v1
|
2021-10-18 18:14:12 +03:00
|
|
|
with:
|
2022-04-08 22:18:54 +03:00
|
|
|
extras: "postgres"
|
2021-10-18 18:14:12 +03:00
|
|
|
- run: .ci/scripts/test_export_data_command.sh
|
|
|
|
|
2021-04-09 12:54:30 +03:00
|
|
|
portdb:
|
2021-07-14 16:41:23 +03:00
|
|
|
if: ${{ !failure() && !cancelled() }} # Allow previous steps to be skipped, but not fail
|
2021-04-09 12:54:30 +03:00
|
|
|
needs: linting-done
|
|
|
|
runs-on: ubuntu-latest
|
2021-08-12 12:41:01 +03:00
|
|
|
env:
|
|
|
|
TOP: ${{ github.workspace }}
|
2021-04-09 12:54:30 +03:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
include:
|
2021-12-21 22:37:04 +03:00
|
|
|
- python-version: "3.7"
|
|
|
|
postgres-version: "10"
|
2021-04-09 12:54:30 +03:00
|
|
|
|
2021-10-05 14:43:04 +03:00
|
|
|
- python-version: "3.10"
|
|
|
|
postgres-version: "14"
|
2021-04-09 12:54:30 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
image: postgres:${{ matrix.postgres-version }}
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
env:
|
|
|
|
POSTGRES_PASSWORD: "postgres"
|
|
|
|
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"
|
|
|
|
options: >-
|
|
|
|
--health-cmd pg_isready
|
|
|
|
--health-interval 10s
|
|
|
|
--health-timeout 5s
|
|
|
|
--health-retries 5
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: sudo apt-get -qq install xmlsec1
|
2022-04-08 14:00:05 +03:00
|
|
|
- uses: matrix-org/setup-python-poetry@v1
|
2021-04-09 12:54:30 +03:00
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
2022-04-08 14:00:05 +03:00
|
|
|
extras: "postgres"
|
2021-08-11 21:59:57 +03:00
|
|
|
- run: .ci/scripts/test_synapse_port_db.sh
|
2021-04-09 12:54:30 +03:00
|
|
|
|
|
|
|
complement:
|
2022-05-31 16:02:00 +03:00
|
|
|
if: "${{ !failure() && !cancelled() }}"
|
2021-04-09 12:54:30 +03:00
|
|
|
needs: linting-done
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
2022-06-09 16:16:34 +03:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- arrangement: monolith
|
|
|
|
database: SQLite
|
|
|
|
|
|
|
|
- arrangement: monolith
|
|
|
|
database: Postgres
|
|
|
|
|
2022-08-01 13:51:44 +03:00
|
|
|
- arrangement: workers
|
|
|
|
database: Postgres
|
2022-07-13 15:30:42 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Run actions/checkout@v2 for synapse
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
path: synapse
|
|
|
|
|
2022-09-06 21:01:37 +03:00
|
|
|
- name: Install Rust
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: 1.61.0
|
|
|
|
override: true
|
|
|
|
|
2022-07-13 15:30:42 +03:00
|
|
|
- name: Prepare Complement's Prerequisites
|
|
|
|
run: synapse/.ci/scripts/setup_complement_prerequisites.sh
|
|
|
|
|
|
|
|
- run: |
|
|
|
|
set -o pipefail
|
2022-08-28 23:05:30 +03:00
|
|
|
POSTGRES=${{ (matrix.database == 'Postgres') && 1 || '' }} WORKERS=${{ (matrix.arrangement == 'workers') && 1 || '' }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | synapse/.ci/scripts/gotestfmt
|
2022-07-13 15:30:42 +03:00
|
|
|
shell: bash
|
|
|
|
name: Run Complement Tests
|
|
|
|
|
2021-07-20 13:41:19 +03:00
|
|
|
# a job which marks all the other jobs as complete, thus allowing PRs to be merged.
|
|
|
|
tests-done:
|
2021-07-22 13:10:30 +03:00
|
|
|
if: ${{ always() }}
|
2021-07-20 13:41:19 +03:00
|
|
|
needs:
|
2022-03-07 15:24:06 +03:00
|
|
|
- check-sampleconfig
|
2021-07-22 13:10:30 +03:00
|
|
|
- lint
|
|
|
|
- lint-crlf
|
|
|
|
- lint-newsfile
|
2021-07-20 13:41:19 +03:00
|
|
|
- trial
|
|
|
|
- trial-olddeps
|
|
|
|
- sytest
|
2022-03-07 15:24:06 +03:00
|
|
|
- export-data
|
2021-07-20 13:41:19 +03:00
|
|
|
- portdb
|
|
|
|
- complement
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-07 15:24:06 +03:00
|
|
|
- uses: matrix-org/done-action@v2
|
|
|
|
with:
|
|
|
|
needs: ${{ toJSON(needs) }}
|
|
|
|
|
|
|
|
# The newsfile lint may be skipped on non PR builds
|
|
|
|
skippable:
|
|
|
|
lint-newsfile
|