forked from MirrorHub/synapse
- Use sytest:bionic. Sytest:latest is two years old (do we want CI to push out latest at all?) and comes with Python 3.5, which we explictly no longer support. The script now runs under PostgreSQL 10 as a result. - Advertise script in the docs - Move pg testing script to scripts-dev directory - Write to host as the script's exector, not root A few changes to make it speedier to re-run the tests: - Create blank DB in the container, not the script, so we don't have to `initdb` each time - Use a named volume to persist the tox environment, so we don't have to fetch and install a bunch of packages from PyPI each time Co-authored-by: reivilibre <olivier@librepush.net>
52 lines
550 B
Text
52 lines
550 B
Text
# filename patterns
|
|
*~
|
|
.*.swp
|
|
.#*
|
|
*.deb
|
|
*.egg
|
|
*.egg-info
|
|
*.lock
|
|
*.py[cod]
|
|
*.snap
|
|
*.tac
|
|
_trial_temp/
|
|
_trial_temp*/
|
|
/out
|
|
.DS_Store
|
|
__pycache__/
|
|
|
|
# stuff that is likely to exist when you run a server locally
|
|
/*.db
|
|
/*.log
|
|
/*.log.*
|
|
/*.log.config
|
|
/*.pid
|
|
/.python-version
|
|
/*.signing.key
|
|
/env/
|
|
/.venv*/
|
|
/homeserver*.yaml
|
|
/logs
|
|
/media_store/
|
|
/uploads
|
|
|
|
# IDEs
|
|
/.idea/
|
|
/.ropeproject/
|
|
/.vscode/
|
|
|
|
# build products
|
|
!/.coveragerc
|
|
/.coverage*
|
|
/.mypy_cache/
|
|
/.tox
|
|
/.tox-pg-container
|
|
/build/
|
|
/coverage.*
|
|
/dist/
|
|
/docs/build/
|
|
/htmlcov
|
|
/pip-wheel-metadata/
|
|
|
|
# docs
|
|
book/
|