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

Update tests for FreeBSD and make these more visible by adding a badge #841

Merged
merged 2 commits into from
Sep 18, 2021
Merged
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
25 changes: 14 additions & 11 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
freebsd_instance:
image_family: freebsd-12-1

task:
matrix:
freebsd_instance:
image_family: freebsd-13-0
freebsd_instance:
image_family: freebsd-12-2

install_script:
- pkg install -y python37 py37-sqlite3
- pkg install -y python38 py38-sqlite3
# Print the Python version, only to be sure we are running the version we want
- python3.7 -c 'import platform; print("Python", platform.python_version())'
- python3.8 -c 'import platform; print("Python", platform.python_version())'
# Check SQLite3 is installed
- python3.7 -c 'import sqlite3; print("SQLite3", sqlite3.version)'
- python3.8 -c 'import sqlite3; print("SQLite3", sqlite3.version)'
setup_script:
- python3.7 -m ensurepip
- python3.7 -m pip install -U pip
- python3.7 -m pip install -r requirements-tests.txt
- python3.8 -m ensurepip
- python3.8 -m pip install -U pip
- python3.8 -m pip install -r requirements-tests.txt
lint_script:
- python3.7 -m flake8 docs src tests tools
- python3.8 -m flake8 docs src tests tools
tests_script:
- python3.7 -bb -m pytest tests
- python3.8 -bb -m pytest tests
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Watchdog
========

|Build Status|
|CirrusCI Status|

Python API and shell utilities to monitor file system events.

Expand Down Expand Up @@ -301,3 +302,5 @@ to do:

.. |Build Status| image:: https://github.com/gorakhargosh/watchdog/workflows/Tests/badge.svg
:target: https://github.com/gorakhargosh/watchdog/actions?query=workflow%3ATests
.. |CirrusCI Status| image:: https://api.cirrus-ci.com/github/gorakhargosh/watchdog.svg
:target: https://cirrus-ci.com/github/gorakhargosh/watchdog/