Skip to content

Commit

Permalink
Add Python test
Browse files Browse the repository at this point in the history
  • Loading branch information
s7nfo committed Jul 1, 2024
1 parent 4fd3269 commit 2f34b7d
Show file tree
Hide file tree
Showing 25 changed files with 1,449 additions and 4,304 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
__pycache__/
*.py[cod]
*$py.class

*.so

*.egg
*.egg-info/
dist/
build/
*.pyd
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Makefile to trigger tests for Python, Ruby, and Go implementations

# Default target
.PHONY: test
test: test-python test-ruby

# Python test target
.PHONY: test-python
test-python:
@echo "Running Python tests..."
PYTHONPATH=./python python -m unittest discover -s python/tests

# Ruby test target
.PHONY: test-ruby
test-ruby:
@echo "Running Ruby tests..."
cd ruby && bundle exec rake test
2 changes: 0 additions & 2 deletions cirron/__init__.py

This file was deleted.

Loading

0 comments on commit 2f34b7d

Please sign in to comment.