Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Carton #1366

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ signingkeyserver.db
.coverage*
.idea
.DS_Store

# Carton stores local packages here.
local/
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ SyTest requires a number of dependencies that are easiest installed from CPAN.
./install-deps.pl
cd ..

Alternatively, you can use carton:
Copy link

Choose a reason for hiding this comment

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

Could use a note about running the tests later using carton exec


cpan Carton (if not installed)
Copy link
Member

Choose a reason for hiding this comment

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

On macOS this was brew install carton 🤷

Copy link

Choose a reason for hiding this comment

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

cpan ought to be a cross-platform option if you have a full Perl installation, but I tend to lean towards the distro-installed carton too (saves messing with PATH etc).

carton install

#. As ``sytest`` is intended for testing the synapse home server
implementation, it is likely you'll want to fetch the source of that as
well. By default SyTest will expect to find it in a sibling directory called
Expand Down
Loading
Loading