summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
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/workflows/ci.yml
parenta6084e93e11b3717780b6fc45011c6cb81c4a271 (diff)
parent47d6cf824c6f37294a34563c94c26010c5ccee8d (diff)
downloadpystatsd-3fa4353ba32e40a003016f6f59c714acc2adc7de.tar.gz
Merge pull request #181 from jsocol/automate-releaseHEADmain
Automate Releases
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml28
1 files changed, 15 insertions, 13 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6d0da75..ea1e4fe 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,19 +16,21 @@ jobs:
python: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.9']
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-python@v4
- with:
- python-version: ${{ matrix.python }}
- - run: pip install --upgrade pip
- - run: pip install tox
- - run: tox -e py
+ - uses: actions/checkout@v3
+
+ - uses: ./.github/actions/test
+ with:
+ python-version: ${{ matrix.python }}
+
lint:
runs-on: [ubuntu-latest]
steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-python@v4
- with:
- python-version: '3.11'
- - run: pip install flake8
- - run: flake8 statsd
+ - uses: actions/checkout@v3
+
+ - uses: actions/setup-python@v4
+ with:
+ python-version: '3.11'
+
+ - run: pip install flake8
+
+ - run: flake8 statsd