Skip to content

Commit 3932bfe

Browse files
committed
Move test into package
I had thought this was related to the wrong files ending up in the bundle, but I was mistaken.
1 parent 7ffc6be commit 3932bfe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
pylint $( find . -path './jepler*.py' )
5656
([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace $( find . -path "./examples/*.py" ))
5757
- name: Unit Test
58-
run: python test.py
58+
run: python -m jepler_udecimal.test
5959
- name: Build assets
6060
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
6161
- name: Build docs

test.py renamed to jepler_udecimal/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# SPDX-FileCopyrightText: Copyright (c) 2020 jepler for Unpythonic Networks
33
#
44
# SPDX-License-Identifier: MIT
5+
6+
# pylint: disable=missing-module-docstring,missing-function-docstring,unused-argument
57
import unittest
68
import doctest
79
import jepler_udecimal

0 commit comments

Comments
 (0)