Skip to content

Commit

Permalink
DEBUG - CI: Test only pgsql
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Jan 13, 2025
1 parent 9742bd0 commit 7b67548
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
REF_NAME=`echo $GITHUB_REF_NAME | tr "/" "_"`
NODENAME=$DATE@$GITHUB_RUN_NUMBER-$GITHUB_ACTOR-$REF_NAME-$COMMIT
LABEL=`git show -s --format=%s | cut -c 1-30`
./rebar3 ct --name $NODENAME --label "$LABEL"
CT_BACKENDS=pgsql ./rebar3 ct --name $NODENAME --label "$LABEL"
./rebar3 cover
- name: Check results
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
[[ -d _build/test/logs ]] && rm -rf _build/test/logs || true
sed -i 's|update_sql, false|update_sql, true|g' test/suite.erl
- name: Run DB tests on upgraded schema (mssql, mysql, pgsql)
run: CT_BACKENDS=mssql,mysql,pgsql make test
run: CT_BACKENDS=pgsql make test
if: always() && steps.prepupgradetest.outcome != 'skipped'
id: ctupgradedschema
- name: Check results
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
TO ejabberd_test;"
sed -i 's|new_schema, false|new_schema, true|g' test/suite.erl
- name: Run DB tests on new schema (mssql, mysql, pgsql)
run: CT_BACKENDS=mssql,mysql,pgsql make test
run: CT_BACKENDS=pgsql make test
id: ctnewschema
- name: Check results
if: always() && steps.ctnewschema.outcome != 'skipped'
Expand Down

0 comments on commit 7b67548

Please sign in to comment.