summaryrefslogtreecommitdiff
path: root/.github/actions/test/action.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/actions/test/action.yml')
-rw-r--r--.github/actions/test/action.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml
new file mode 100644
index 0000000..790017e
--- /dev/null
+++ b/.github/actions/test/action.yml
@@ -0,0 +1,23 @@
+name: test
+description: 'runs a test matrix'
+inputs:
+ python-version:
+ required: true
+
+runs:
+ using: "composite"
+ steps:
+ - uses: actions/checkout@v3
+
+ - uses: actions/setup-python@v4
+ with:
+ python-version: ${{ inputs.python-version }}
+
+ - run: pip install --upgrade pip
+ shell: sh
+
+ - run: pip install tox
+ shell: sh
+
+ - run: tox -e py
+ shell: sh