summaryrefslogtreecommitdiff
path: root/.github/actions/test
diff options
context:
space:
mode:
authorJames Socol <me@jamessocol.com>2022-12-04 11:57:38 -0500
committerGitHub <noreply@github.com>2022-12-04 11:57:38 -0500
commit3fa4353ba32e40a003016f6f59c714acc2adc7de (patch)
tree7c72b5bfdda786c121f334ae70e3048a35367077 /.github/actions/test
parenta6084e93e11b3717780b6fc45011c6cb81c4a271 (diff)
parent47d6cf824c6f37294a34563c94c26010c5ccee8d (diff)
downloadpystatsd-main.tar.gz
Merge pull request #181 from jsocol/automate-releaseHEADmain
Automate Releases
Diffstat (limited to '.github/actions/test')
-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