Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Dummy test
Browse files Browse the repository at this point in the history
  • Loading branch information
kretep committed Jun 6, 2024
1 parent 1c37989 commit 528bc40
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package
name: Build and test

on:
push:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist/
*.pyc
9 changes: 8 additions & 1 deletion src/paradigma/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
pass
# read version from installed package
from importlib.metadata import version

__version__ = version("paradigma")

from .dummy import (
hello_world
)
3 changes: 3 additions & 0 deletions src/paradigma/dummy.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

def hello_world():
return "Hello, world!"
6 changes: 6 additions & 0 deletions tests/test_paradigma.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Dummy test
import paradigma

def test_dummy():
paradigma.hello_world() == "Hello, world!"

0 comments on commit 528bc40

Please sign in to comment.