Skip to content

Commit

Permalink
Merge pull request #6 from rwx-research/py37-support
Browse files Browse the repository at this point in the history
Adds support for python 3.7
  • Loading branch information
ayazhafiz authored Apr 7, 2023
2 parents d39b059 + 7874ba7 commit 0610399
Show file tree
Hide file tree
Showing 27 changed files with 728 additions and 48 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ concurrency:

jobs:
test:
runs-on: rwx-ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
include:
- py: "37"
python-version: "3.7"
- py: "38"
python-version: "3.8"
- py: "39"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abq test -- pytest

`pytest-abq` is actively tested against

- Python 3.8, 3.9, 3.10
- Python 3.7, 3.8, 3.9, 3.10
- Pytest 7.0, 7.2

`pytest-abq` may support Python and pytest versions beyond these.
Expand Down
12 changes: 8 additions & 4 deletions integration_tests/multifile/out/py310/pytest7.0.*/results.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED"
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
Expand Down Expand Up @@ -55,7 +56,8 @@
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED"
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
Expand Down Expand Up @@ -84,7 +86,8 @@
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED"
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
Expand Down Expand Up @@ -115,7 +118,8 @@
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED"
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
]
Expand Down
12 changes: 8 additions & 4 deletions integration_tests/multifile/out/py310/pytest7.2.*/results.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED"
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
Expand Down Expand Up @@ -55,7 +56,8 @@
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED"
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
Expand Down Expand Up @@ -84,7 +86,8 @@
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED"
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
Expand Down Expand Up @@ -115,7 +118,8 @@
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED"
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
]
Expand Down
46 changes: 46 additions & 0 deletions integration_tests/multifile/out/py37/pytest7.0.*/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"manifest": {
"members": [
{
"type": "test",
"id": "test_file1.py::test_1",
"tags": [],
"meta": {}
},
{
"type": "test",
"id": "test_file1.py::test_2",
"tags": [],
"meta": {}
},
{
"type": "test",
"id": "test_file2.py::test_3",
"tags": [],
"meta": {}
},
{
"type": "test",
"id": "test_file2.py::test_4",
"tags": [],
"meta": {}
}
],
"init_meta": {}
},
"native_runner_protocol": {
"type": "abq_protocol_version",
"major": 0,
"minor": 2
},
"native_runner_specification": {
"type": "abq_native_runner_specification",
"name": "pytest_abq",
"version": "7.2.2",
"test_framework": "pytest",
"test_framework_version": "7.0.1",
"language": "Python",
"language_version": "3.7",
"host": "cpython-37"
}
}
126 changes: 126 additions & 0 deletions integration_tests/multifile/out/py37/pytest7.0.*/results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
[
[
{
"source": {
"runner": [
0,
1
],
"is_singleton": true,
"has_stdout_reporters": false
},
"result": {
"status": "Success",
"id": "test_file1.py::test_1",
"display_name": "test_file1.py::test_1",
"output": "",
"runtime": {
"Nanoseconds": "STRIPPED"
},
"meta": {},
"location": {
"file": "test_file1.py",
"line": 2,
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
[
{
"source": {
"runner": [
0,
1
],
"is_singleton": true,
"has_stdout_reporters": false
},
"result": {
"status": {
"Failure": {}
},
"id": "test_file1.py::test_2",
"display_name": "test_file1.py::test_2",
"output": "def test_2():\n> assert 1 == 2\nE assert 1 == 2\n\ntest_file1.py:7: AssertionError",
"runtime": {
"Nanoseconds": "STRIPPED"
},
"meta": {},
"location": {
"file": "test_file1.py",
"line": 5,
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
[
{
"source": {
"runner": [
0,
1
],
"is_singleton": true,
"has_stdout_reporters": false
},
"result": {
"status": "Success",
"id": "test_file2.py::test_3",
"display_name": "test_file2.py::test_3",
"output": "",
"runtime": {
"Nanoseconds": "STRIPPED"
},
"meta": {},
"location": {
"file": "test_file2.py",
"line": 2,
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
],
[
{
"source": {
"runner": [
0,
1
],
"is_singleton": true,
"has_stdout_reporters": false
},
"result": {
"status": {
"Failure": {}
},
"id": "test_file2.py::test_4",
"display_name": "test_file2.py::test_4",
"output": "def test_4():\n> assert 1 == 2\nE assert 1 == 2\n\ntest_file2.py:7: AssertionError",
"runtime": {
"Nanoseconds": "STRIPPED"
},
"meta": {},
"location": {
"file": "test_file2.py",
"line": 5,
"column": null
},
"stderr": "STRIPPED",
"stdout": "STRIPPED",
"timestamp": "STRIPPED"
}
}
]
]
46 changes: 46 additions & 0 deletions integration_tests/multifile/out/py37/pytest7.2.*/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"manifest": {
"members": [
{
"type": "test",
"id": "test_file1.py::test_1",
"tags": [],
"meta": {}
},
{
"type": "test",
"id": "test_file1.py::test_2",
"tags": [],
"meta": {}
},
{
"type": "test",
"id": "test_file2.py::test_3",
"tags": [],
"meta": {}
},
{
"type": "test",
"id": "test_file2.py::test_4",
"tags": [],
"meta": {}
}
],
"init_meta": {}
},
"native_runner_protocol": {
"type": "abq_protocol_version",
"major": 0,
"minor": 2
},
"native_runner_specification": {
"type": "abq_native_runner_specification",
"name": "pytest_abq",
"version": "7.2.2",
"test_framework": "pytest",
"test_framework_version": "7.2.2",
"language": "Python",
"language_version": "3.7",
"host": "cpython-37"
}
}
Loading

0 comments on commit 0610399

Please sign in to comment.