1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-04-27 19:15:07 +00:00
Mirror
Go to file
feiniks 69932ee8ae
Get notification server url from env (#752)
Co-authored-by: Heran Yang <heran.yang@seafile.com>
2025-04-08 11:51:11 +08:00
.github/workflows Adjust size of max_download_dir_size and max_upload_size (#739) 2025-02-26 11:47:08 +08:00
ci Use seaf->http_server->priv after set evhtp hook (#749) 2025-04-02 16:33:31 +08:00
common Use mysql database by default (#751) 2025-04-03 15:49:18 +08:00
controller Log format (#704) 2024-10-24 10:46:41 +08:00
doc Delete unused doc (#653) 2024-03-26 14:30:54 +08:00
fileserver Get notification server url from env (#752) 2025-04-08 11:51:11 +08:00
fuse Read database config from seafile.conf and env (#713) 2024-11-05 17:42:24 +08:00
include Adjust rpc name 2025-03-19 12:00:56 +08:00
lib Return error when failed to get user from database (#700) 2024-09-18 16:28:15 +08:00
m4 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
notification-server Check if env is empty string (#748) 2025-04-01 18:22:25 +08:00
python rm CCNET_CONF_DIR (#746) 2025-03-28 15:12:50 +08:00
scripts Don't create repo_id unique index (#679) 2024-08-09 17:45:43 +08:00
server Get notification server url from env (#752) 2025-04-08 11:51:11 +08:00
tests Adjust rpc name 2025-03-19 12:00:56 +08:00
tools Del seaf-init and ccnet-init commands (#348) 2020-05-11 09:20:47 +08:00
.gitignore Add search files RPC (#417) 2020-10-27 18:06:37 +08:00
autogen.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
configure.ac Add metrics (#747) 2025-03-31 16:46:24 +08:00
LICENSE.txt Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
Makefile.am get nickname from seahub database (#663) 2024-07-10 16:34:33 +08:00
pytest.ini Add functional tests (#120) 2018-01-16 17:10:26 +08:00
README.markdown fix build URL (#639) 2023-12-12 13:57:42 +08:00
README.testing.md Update testing README 2018-01-16 18:19:33 +08:00
run_tests.sh Add functional tests (#120) 2018-01-16 17:10:26 +08:00
updateversion.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00

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