Skip to content

Commit cf3d2fb

Browse files
Merge pull request #3 from thoughtparametersllc/copilot/update-python-testing-references
Update repository name references from python-testing to python-unit-testing
2 parents 9631b2e + a1fed56 commit cf3d2fb

8 files changed

Lines changed: 41 additions & 41 deletions

File tree

‎.github/IMPLEMENTATION_SUMMARY.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Python Testing Action - Implementation Summary
1+
# Python Unit Testing Action - Implementation Summary
22

33
## Overview
44

5-
This document provides a comprehensive summary of the Python Testing GitHub Action implementation.
5+
This document provides a comprehensive summary of the Python Unit Testing GitHub Action implementation.
66

77
## What Was Built
88

@@ -30,7 +30,7 @@ SVG badges can be generated showing:
3030
## File Structure
3131

3232
```
33-
python-testing/
33+
python-unit-testing/
3434
├── action.yml # Main action definition
3535
├── README.md # User-facing documentation
3636
├── CHANGELOG.md # Version history
@@ -123,19 +123,19 @@ All validations passed successfully:
123123
124124
### Basic Usage
125125
```yaml
126-
- uses: thoughtparametersllc/python-testing@v1
126+
- uses: thoughtparametersllc/python-unit-testing@v1
127127
```
128128
129129
### With Badge Generation
130130
```yaml
131-
- uses: thoughtparametersllc/python-testing@v1
131+
- uses: thoughtparametersllc/python-unit-testing@v1
132132
with:
133133
commit-badges: 'true'
134134
```
135135
136136
### Advanced Configuration
137137
```yaml
138-
- uses: thoughtparametersllc/python-testing@v1
138+
- uses: thoughtparametersllc/python-unit-testing@v1
139139
with:
140140
python-version: '3.11'
141141
requirements-file: 'requirements-dev.txt'
@@ -185,7 +185,7 @@ Potential improvements for future versions:
185185
## Support
186186
187187
For issues, questions, or contributions:
188-
- GitHub Issues: https://github.com/thoughtparametersllc/python-testing/issues
188+
- GitHub Issues: https://github.com/thoughtparametersllc/python-unit-testing/issues
189189
- Documentation: See README.md and USAGE.md
190190
- Examples: See `.github/workflows/` and `examples/`
191191

‎.github/QUICK_START.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Quick Start Guide
22

3-
Get started with Python Testing Action in minutes!
3+
Get started with Python Unit Testing Action in minutes!
44

55
## 1. Basic Setup (2 minutes)
66

@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: thoughtparametersllc/python-testing@v1
18+
- uses: thoughtparametersllc/python-unit-testing@v1
1919
```
2020
2121
Commit and push. Done! 🎉
@@ -35,7 +35,7 @@ jobs:
3535
contents: write
3636
steps:
3737
- uses: actions/checkout@v4
38-
- uses: thoughtparametersllc/python-testing@v1
38+
- uses: thoughtparametersllc/python-unit-testing@v1
3939
with:
4040
commit-badges: 'true'
4141
```
@@ -51,7 +51,7 @@ Then add badge to your README manually:
5151
Add pytest-specific options:
5252

5353
```yaml
54-
- uses: thoughtparametersllc/python-testing@v1
54+
- uses: thoughtparametersllc/python-unit-testing@v1
5555
with:
5656
python-version: '3.11'
5757
requirements-file: 'requirements.txt'
@@ -79,4 +79,4 @@ Add pytest-specific options:
7979
## Need Help?
8080
8181
- See [Troubleshooting](USAGE.md#troubleshooting) section
82-
- [Open an issue](https://github.com/thoughtparametersllc/python-testing/issues)
82+
- [Open an issue](https://github.com/thoughtparametersllc/python-unit-testing/issues)

‎.github/USAGE.md‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Python Testing Action - Usage Guide
1+
# Python Unit Testing Action - Usage Guide
22

3-
This guide provides detailed information on using the Python Testing GitHub Action.
3+
This guide provides detailed information on using the Python Unit Testing GitHub Action.
44

55
## Table of Contents
66

@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v4
27-
- uses: thoughtparametersllc/python-testing@v1
27+
- uses: thoughtparametersllc/python-unit-testing@v1
2828
```
2929
3030
That's it! The action will install pytest and run your tests.
@@ -39,7 +39,7 @@ The action installs and runs pytest with your specified options.
3939
4040
**Example configuration:**
4141
```yaml
42-
- uses: thoughtparametersllc/python-testing@v1
42+
- uses: thoughtparametersllc/python-unit-testing@v1
4343
with:
4444
pytest-options: '--cov=mypackage --cov-report=xml'
4545
```
@@ -51,7 +51,7 @@ The action installs and runs pytest with your specified options.
5151
Specify the Python version to use:
5252
5353
```yaml
54-
- uses: thoughtparametersllc/python-testing@v1
54+
- uses: thoughtparametersllc/python-unit-testing@v1
5555
with:
5656
python-version: '3.11'
5757
```
@@ -61,7 +61,7 @@ Specify the Python version to use:
6161
Install additional dependencies before running tests:
6262
6363
```yaml
64-
- uses: thoughtparametersllc/python-testing@v1
64+
- uses: thoughtparametersllc/python-unit-testing@v1
6565
with:
6666
requirements-file: 'requirements-dev.txt'
6767
```
@@ -71,7 +71,7 @@ Install additional dependencies before running tests:
7171
Pass custom options to pytest:
7272
7373
```yaml
74-
- uses: thoughtparametersllc/python-testing@v1
74+
- uses: thoughtparametersllc/python-unit-testing@v1
7575
with:
7676
pytest-options: '--cov --cov-report=xml --maxfail=1'
7777
```
@@ -92,7 +92,7 @@ jobs:
9292
steps:
9393
- uses: actions/checkout@v4
9494

95-
- uses: thoughtparametersllc/python-testing@v1
95+
- uses: thoughtparametersllc/python-unit-testing@v1
9696
with:
9797
commit-badges: 'true'
9898
badges-directory: '.github/badges'
@@ -124,7 +124,7 @@ jobs:
124124

125125
steps:
126126
- uses: actions/checkout@v4
127-
- uses: thoughtparametersllc/python-testing@v1
127+
- uses: thoughtparametersllc/python-unit-testing@v1
128128
with:
129129
python-version: ${{ matrix.python-version }}
130130
```
@@ -145,7 +145,7 @@ jobs:
145145

146146
steps:
147147
- uses: actions/checkout@v4
148-
- uses: thoughtparametersllc/python-testing@v1
148+
- uses: thoughtparametersllc/python-unit-testing@v1
149149
with:
150150
python-version: ${{ matrix.python-version }}
151151
```
@@ -155,7 +155,7 @@ jobs:
155155
Generate coverage reports with pytest:
156156
157157
```yaml
158-
- uses: thoughtparametersllc/python-testing@v1
158+
- uses: thoughtparametersllc/python-unit-testing@v1
159159
with:
160160
pytest-options: '--cov=mypackage --cov-report=xml --cov-report=html'
161161

@@ -170,7 +170,7 @@ Generate coverage reports with pytest:
170170
Run different options on different branches:
171171
172172
```yaml
173-
- uses: thoughtparametersllc/python-testing@v1
173+
- uses: thoughtparametersllc/python-unit-testing@v1
174174
with:
175175
pytest-options: ${{ github.ref == 'refs/heads/main' && '--cov --slow' || '--fast' }}
176176
```
@@ -238,4 +238,4 @@ See the [.github/workflows/](./../workflows/) directory for example workflow con
238238
If you need help:
239239
- Check the [README](../../README.md)
240240
- Review [example workflows](./../workflows/)
241-
- [Open an issue](https://github.com/thoughtparametersllc/python-testing/issues)
241+
- [Open an issue](https://github.com/thoughtparametersllc/python-unit-testing/issues)

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ jobs:
243243
echo "5. Click 'Update release'"
244244
echo ""
245245
echo "The action.yml already includes marketplace metadata:"
246-
echo " - Name: Python Testing"
246+
echo " - Name: Python Unit Testing"
247247
echo " - Description: Run Python tests using pytest, generate SVG badges for test results, and optionally commit the badges to the repository."
248248
echo " - Author: Jason Miller"
249249
echo " - Branding: check-circle icon, green color"

‎CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
- Updated USAGE.md to clarify the action installs pytest and runs tests (not automatic detection)
2525
- Updated QUICK_START.md to reflect actual badge generation workflow
2626
- Updated IMPLEMENTATION_SUMMARY.md to accurately reflect pytest-only implementation
27-
- Fixed CONTRIBUTING.md references from "Python Linting Action" to "Python Testing Action"
28-
- Fixed clone path in CONTRIBUTING.md from "python-linting" to "python-testing"
27+
- Fixed CONTRIBUTING.md references from "Python Linting Action" to "Python Unit Testing Action"
28+
- Fixed clone path in CONTRIBUTING.md from "python-linting" to "python-unit-testing"
2929
- Removed documentation for non-existent inputs: unittest-options, nose-options, behave-options,
3030
tox-options, generate-badges, update-readme, readme-path, and badge-style
3131
- Updated feature list to reflect pytest-only support

‎CONTRIBUTING.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to Python Testing Action
1+
# Contributing to Python Unit Testing Action
22

33
First off, thank you for considering contributing to this project! It's people like you that make the
44
open-source community such an amazing place to learn, inspire, and create. Any contributions you make are
@@ -10,8 +10,8 @@ open-source community such an amazing place to learn, inspire, and create. Any c
1010
2. **Clone your fork** locally:
1111

1212
```bash
13-
git clone https://github.com/your-username/python-testing.git
14-
cd python-testing
13+
git clone https://github.com/your-username/python-unit-testing.git
14+
cd python-unit-testing
1515
```
1616

1717
3. **Create a new branch** for your feature or fix:

‎README.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# python-testing
1+
# python-unit-testing
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4-
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Python%20Testing-blue.svg?colorA=24292e&colorB=0366d6&style=flat&longCache=true&logo=github)](https://github.com/marketplace/actions/python-testing)
4+
[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Python%20Unit%20Testing-blue.svg?colorA=24292e&colorB=0366d6&style=flat&longCache=true&logo=github)](https://github.com/marketplace/actions/python-unit-testing)
55

66
GitHub Action to run Python tests using pytest.
77

@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v4
3939

4040
- name: Run Python Tests
41-
uses: thoughtparametersllc/python-testing@v1 # or @<commit-sha> before first release
41+
uses: thoughtparametersllc/python-unit-testing@v1 # or @<commit-sha> before first release
4242
```
4343
4444
### Advanced Example with All Options
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/checkout@v4
5757

5858
- name: Run Python Tests
59-
uses: thoughtparametersllc/python-testing@v1
59+
uses: thoughtparametersllc/python-unit-testing@v1
6060
with:
6161
python-version: '3.11'
6262
requirements-file: 'requirements.txt'
@@ -71,7 +71,7 @@ Enable badge generation to automatically create SVG badges for pytest:
7171
7272
```yaml
7373
- name: Run Python Tests
74-
uses: thoughtparametersllc/python-testing@v1
74+
uses: thoughtparametersllc/python-unit-testing@v1
7575
with:
7676
commit-badges: 'true'
7777
badges-directory: '.github/badges'
@@ -111,15 +111,15 @@ The action installs pytest and runs your tests with the specified options. You c
111111
### pytest Project with Coverage
112112

113113
```yaml
114-
- uses: thoughtparametersllc/python-testing@v1
114+
- uses: thoughtparametersllc/python-unit-testing@v1
115115
with:
116116
pytest-options: '--cov=mypackage --cov-report=xml'
117117
```
118118

119119
### With Custom Requirements
120120

121121
```yaml
122-
- uses: thoughtparametersllc/python-testing@v1
122+
- uses: thoughtparametersllc/python-unit-testing@v1
123123
with:
124124
requirements-file: 'requirements-dev.txt'
125125
pytest-options: '--verbose'
@@ -128,7 +128,7 @@ The action installs pytest and runs your tests with the specified options. You c
128128
### With Badge Generation
129129

130130
```yaml
131-
- uses: thoughtparametersllc/python-testing@v1
131+
- uses: thoughtparametersllc/python-unit-testing@v1
132132
with:
133133
pytest-options: '--verbose'
134134
commit-badges: 'true'
@@ -181,4 +181,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
181181
## Support
182182

183183
If you encounter any issues or have questions, please
184-
[open an issue](https://github.com/thoughtparametersllc/python-testing/issues) on GitHub.
184+
[open an issue](https://github.com/thoughtparametersllc/python-unit-testing/issues) on GitHub.

‎SECURITY.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ We take the security of this GitHub Action seriously. If you discover a security
2020
Instead, please report them via email to:
2121

2222
- **Email**: [jason.miller@thoughtparameters.com](mailto:jason.miller@thoughtparameters.com)
23-
- **Subject**: Security Vulnerability in python-testing action
23+
- **Subject**: Security Vulnerability in python-unit-testing action
2424

2525
### What to Include
2626

0 commit comments

Comments
 (0)