1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-09 10:48:17 +00:00
Mirror
Go to file
2024-10-28 10:55:05 +08:00
.github/workflows Delete RepoTokenPeerInfo when del repo (#684) 2024-08-22 18:08:29 +08:00
ci Delete seahub_settings.py 2024-09-06 17:26:50 +08:00
common Add online gc (#706) 2024-10-24 18:34:16 +08:00
controller Don't disable daemon mode for controller 2024-10-28 10:55:05 +08:00
doc
fileserver Format notification server log and redirect stderr to log (#707) 2024-10-26 16:16:35 +08:00
fuse Add online gc (#706) 2024-10-24 18:34:16 +08:00
include Add online gc (#706) 2024-10-24 18:34:16 +08:00
lib Return error when failed to get user from database (#700) 2024-09-18 16:28:15 +08:00
m4
notification-server Format notification server log and redirect stderr to log (#707) 2024-10-26 16:16:35 +08:00
python Add online gc (#706) 2024-10-24 18:34:16 +08:00
scripts Don't create repo_id unique index (#679) 2024-08-09 17:45:43 +08:00
server Add online gc (#706) 2024-10-24 18:34:16 +08:00
tests Add online gc (#706) 2024-10-24 18:34:16 +08:00
tools
.gitignore
autogen.sh
configure.ac
LICENSE.txt
Makefile.am
pytest.ini
README.markdown
README.testing.md
run_tests.sh
updateversion.sh

Seafile Server Tests

Run it locally

To run the tests, you need to install pytest first:

pip install -r ci/requirements.txt

Compile and install ccnet-server and seafile-server

cd ccnet-server
make
sudo make install

cd seafile-server
make
sudo make install

Then run the tests with

cd seafile-server
./run_tests.sh

By default the test script would try to start ccnet-server and seaf-server in /usr/local/bin, if you make install to another location, say /opt/local, run it like this:

SEAFILE_INSTALL_PREFIX=/opt/local ./run_tests.sh