Skip to content

Commit 8072cb5

Browse files
authored
Merge pull request #135 from adamspd/compatibility-matrix-worklow-testing
Updated compatibility matrix worklow
2 parents 4cf07ec + a540d22 commit 8072cb5

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

.github/workflows/compatibility_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: sudo apt-get update && sudo apt-get install jq -y
2525

2626
- name: Run Compatibility Matrix Script
27-
run: sudo bash compatibility_matrix.sh 3
27+
run: sudo bash compatibility_matrix.sh 5
2828

2929
- name: Commit and Push if not on main branch
3030
env:
@@ -35,4 +35,4 @@ jobs:
3535
git config --global user.name "GitHub Actions"
3636
git add .
3737
git commit -m "Update compatibility matrix and badges" -a || echo "No changes to commit"
38-
git push https://${MY_PERSONAL_TOKEN}@github.com/${{ github.repository }} HEAD:${{ github.ref_name }}
38+
git push https://x-access-token:${MY_PERSONAL_TOKEN}@github.com/${{ github.repository }} HEAD:refs/heads/${{ github.ref_name }}

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
[![GitHub issues](https://img.shields.io/github/issues/adamspd/django-appointment)](https://github.com/adamspd/django-appointment/issues)
1313
[![GitHub pull requests](https://img.shields.io/github/issues-pr/adamspd/django-appointment)](https://github.com/adamspd/django-appointment/pulls)
1414
[![GitHub contributors](https://img.shields.io/github/contributors/adamspd/django-appointment)](https://github.com/adamspd/django-appointment/graphs/contributors)
15-
[![GitHub forks](https://img.shields.io/github/forks/adamspd/django-appointment)](https://github.com/adamspd/django-appointment/forks)
1615
[![GitHub stars](https://img.shields.io/github/stars/adamspd/django-appointment)](https://github.com/adamspd/django-appointment/stargazers)
17-
[![GitHub license](https://img.shields.io/github/license/adamspd/django-appointment)](https://github.com/adamspd/django-appointment/blob/main/LICENSE)
1816
[![Django compatible version](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/adamspd/django-appointment/main/django_compatible.json)](https://github.com/adamspd/django-appointment/blob/main/compatibility_matrix.md)
1917
[![Python compatible version](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/adamspd/django-appointment/main/python_compatible.json)](https://github.com/adamspd/django-appointment/blob/main/compatibility_matrix.md)
2018

@@ -282,6 +280,9 @@ Contributions are welcome! Please refer to
282280
the [contributing guidelines](https://github.com/adamspd/django-appointment/tree/main/CONTRIBUTING.md) for more
283281
information.
284282

283+
> **Important**: Please consider starring the repository if you find it useful. It helps me to know that the project is
284+
> appreciated and that I should continue to maintain it. Thank you!
285+
285286
## Code of Conduct 📜
286287

287288
Please refer to the [code of conduct](https://github.com/adamspd/django-appointment/tree/main/CODE_OF_CONDUCT.md) for

compatibility_matrix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| 3.2 | PASS | PASS | PASS | PASS | PASS | - | - |
66
| 4.0 | - | - | PASS | PASS | PASS | - | - |
77
| 4.1 | - | - | PASS | PASS | PASS | PASS | - |
8-
| 4.2 | - | - | PASS | PASS | PASS | PASS | FAIL |
8+
| 4.2 | - | - | PASS | PASS | PASS | PASS | PASS |
99
| 5.0 | - | - | - | - | PASS | PASS | PASS |
1010

1111
## Test Results Explanation

compatibility_matrix.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ generate_badge_json() {
121121

122122
echo "{
123123
\"schemaVersion\": 1,
124-
\"label\": \"compatible python\",
124+
\"label\": \"compatible with python\",
125125
\"message\": \"$(IFS=' | '; echo "${unique_python_versions[*]}")\",
126126
\"color\": \"blue\"
127127
}" > "python_compatible.json"
128128

129129
echo "{
130130
\"schemaVersion\": 1,
131-
\"label\": \"compatible django\",
131+
\"label\": \"compatible with django\",
132132
\"message\": \"$(IFS=' | '; echo "${unique_django_versions[*]}")\",
133133
\"color\": \"blue\"
134134
}" > "django_compatible.json"

django_compatible.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schemaVersion": 1,
3-
"label": "django",
4-
"message": "3.2,3.2,3.2,4.0,4.1,4.2,3.2,4.0,4.1,4.2,3.2,4.0,4.1,4.2,5.0,4.1,4.2,5.0,5.0",
3+
"label": "compatible with django",
4+
"message": "3.2 | 4.0 | 4.1 | 4.2 | 5.0",
55
"color": "blue"
66
}

python_compatible.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schemaVersion": 1,
3-
"label": "python",
4-
"message": "3.6,3.7,3.8,3.8,3.8,3.8,3.9,3.9,3.9,3.9,3.10,3.10,3.10,3.10,3.10,3.11,3.11,3.11,3.12",
3+
"label": "compatible with python",
4+
"message": "3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.12",
55
"color": "blue"
66
}

0 commit comments

Comments
 (0)