Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 852db6b

Browse files
add test runner workflow
1 parent 1029f3e commit 852db6b

File tree

3 files changed

+56
-5
lines changed

3 files changed

+56
-5
lines changed

.github/workflows/test-runner.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: test-runner
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
max-parallel: 4
11+
matrix:
12+
python-version: [3.8, 3.9, 3.10]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
pip install -U pip wheel
22+
pip install -e ".[testing]"
23+
- name: Run validation
24+
run: |
25+
python setup.py validate
26+
- name: Run codecov (only 3.9)
27+
run: |
28+
pytest -s

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Dynata
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

setup.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
setuptools.setup(
1111
name="dynata_rex",
12-
version="0.0.1",
13-
author="Grant Ward",
14-
author_email="grant.ward@dynata.com",
12+
version="1.0.0",
13+
author="REX Maintainers",
14+
author_email="tech.supply@Dynata.com",
1515
description=("Package for building and interacting with the "
1616
"Dynata Respondent Exchange (REX)"),
1717
long_description=long_description,
@@ -22,10 +22,12 @@
2222
install_requires=requirements,
2323
setup_requires=['pytest-runner'],
2424
tests_require=['pytest'],
25-
keywords='smor dynata python',
25+
keywords='respondent exchange rex smor dynata python',
2626
classifiers=[
2727
'Programming Language :: Python',
2828
'Programming Language :: Python :: 3',
29-
'Programming Language :: Python :: 3.8',
29+
"Programming Language :: Python :: 3.8",
30+
"Programming Language :: Python :: 3.9",
31+
"Programming Language :: Python :: 3.10",
3032
],
3133
)

0 commit comments

Comments
 (0)