We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 651ccda commit 5d2a50cCopy full SHA for 5d2a50c
.github/workflows/build.yml
@@ -50,6 +50,10 @@ jobs:
50
- name: Pre-commit hooks
51
run: |
52
pre-commit run --all-files
53
+ - name: run tests
54
+ run: |
55
+ pip install --upgrade tox
56
+ tox -e py
57
- name: Build assets
58
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
59
- name: Archive bundles
tox.ini
@@ -0,0 +1,13 @@
1
+# SPDX-FileCopyrightText: 2021 Jonas Kittner
2
+#
3
+# SPDX-License-Identifier: Unlicense
4
+[tox]
5
+envlist = py37
6
+
7
+[testenv]
8
+deps = -rrequirements-dev.txt
9
10
+commands =
11
+ coverage erase
12
+ coverage run -m pytest tests/
13
+ coverage report
0 commit comments