Skip to content

Commit 3583239

Browse files
committed
🐛♻️Bug Fixes and Feature Improvements
Details: - Bug fix related to issue #4 - Improved test code - Upgraded GitHub Actions version - Updated dependencies
1 parent c062c95 commit 3583239

15 files changed

+1341
-1154
lines changed

.github/workflows/test_branch.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [macos-12, ubuntu-latest]
16-
python-version: ['3.10', '3.11']
16+
python-version: ['3.10', '3.11', '3.12']
1717
runs-on: ${{ matrix.os }}
1818
env:
1919
TZ: 'Asia/Tokyo'
@@ -24,16 +24,16 @@ jobs:
2424
id: is_main
2525
shell: bash
2626
run: |
27-
if [ "${{ github.ref }}" = "refs/heads/main" ] && [ "${{ matrix.os }}" = "ubuntu-latest" ] && [ "${{ matrix.python-version }}" = "3.11" ];then
27+
if [ "${{ github.ref }}" = "refs/heads/main" ] && [ "${{ matrix.os }}" = "ubuntu-latest" ] && [ "${{ matrix.python-version }}" = "3.12" ];then
2828
echo "flag=1" >> $GITHUB_OUTPUT
2929
else
3030
echo "flag=0" >> $GITHUB_OUTPUT
3131
fi
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
with:
3434
persist-credentials: false
3535
fetch-depth: 0
36-
- uses: actions/setup-python@v4
36+
- uses: actions/setup-python@v5
3737
with:
3838
python-version: ${{matrix.python-version}}
3939
- name: Install FFmpeg (macOS)
@@ -66,7 +66,7 @@ jobs:
6666
report-only-changed-files: false
6767
remove-link-from-badge: false
6868
junitxml-path: ./pytest.xml
69-
junitxml-title: "Pytest Result Summary (os: ubuntu-latest / python-version: 3.11)"
69+
junitxml-title: "Pytest Result Summary (os: ubuntu-latest / python-version: 3.12)"
7070
- name: Update Readme in coverage branch
7171
if: ${{ steps.is_main.outputs.flag == '1' }}
7272
run: |

.github/workflows/test_githubpages_deploy_multi.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
python-version: ["3.11"]
15+
python-version: ["3.12"]
1616
runs-on: ${{ matrix.os }}
1717
env:
1818
TZ: "Asia/Tokyo"
@@ -23,16 +23,16 @@ jobs:
2323
id: is_main
2424
shell: bash
2525
run: |
26-
if [ "${{ github.ref }}" = "refs/heads/main" ] && [ "${{ matrix.python-version }}" = "3.11" ];then
26+
if [ "${{ github.ref }}" = "refs/heads/main" ] && [ "${{ matrix.python-version }}" = "3.12" ];then
2727
echo "flag=1" >> $GITHUB_OUTPUT
2828
else
2929
echo "flag=0" >> $GITHUB_OUTPUT
3030
fi
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232
with:
3333
persist-credentials: false
3434
fetch-depth: 0
35-
- uses: actions/setup-python@v4
35+
- uses: actions/setup-python@v5
3636
with:
3737
python-version: ${{ matrix.python-version }}
3838
- name: Install FFmpeg
@@ -96,7 +96,7 @@ jobs:
9696
strategy:
9797
matrix:
9898
os: [macos-12]
99-
python-version: ['3.11']
99+
python-version: ['3.12']
100100
runs-on: ${{ matrix.os }}
101101
needs: [test_and_deploy_ubuntu]
102102
env:
@@ -108,16 +108,16 @@ jobs:
108108
id: is_main
109109
shell: bash
110110
run: |
111-
if [ "${{ github.ref }}" = "refs/heads/main" ] && [ "${{ matrix.python-version }}" = "3.11" ];then
111+
if [ "${{ github.ref }}" = "refs/heads/main" ] && [ "${{ matrix.python-version }}" = "3.12" ];then
112112
echo "flag=1" >> $GITHUB_OUTPUT
113113
else
114114
echo "flag=0" >> $GITHUB_OUTPUT
115115
fi
116-
- uses: actions/checkout@v3
116+
- uses: actions/checkout@v4
117117
with:
118118
persist-credentials: false
119119
fetch-depth: 0
120-
- uses: actions/setup-python@v4
120+
- uses: actions/setup-python@v5
121121
with:
122122
python-version: ${{ matrix.python-version }}
123123
- name: Install FFmpeg

.github/workflows/test_summary.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [macos-12, ubuntu-latest]
16-
python-version: ['3.10', '3.11']
16+
python-version: ['3.10', '3.11', '3.12']
1717
runs-on: ${{ matrix.os }}
1818
env:
1919
TZ: 'Asia/Tokyo'
2020
permissions:
2121
contents: write
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
with:
2525
persist-credentials: false
2626
fetch-depth: 0
27-
- uses: actions/setup-python@v4
27+
- uses: actions/setup-python@v5
2828
with:
2929
python-version: ${{matrix.python-version}}
3030
- name: Install FFmpeg (macOS)

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ repos:
4646
args: ["--config", ".markdownlint.json", "README.md"]
4747

4848
- repo: https://github.com/charliermarsh/ruff-pre-commit
49-
rev: v0.5.5
49+
rev: v0.6.4
5050
hooks:
5151
- id: ruff
5252
args: [ --fix ]

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
{
22
"files.exclude": {
33
"**/.git": false
4+
},
5+
"[python]": {
6+
"editor.codeActionsOnSave": {
7+
"source.organizeImports": "explicit" // Organize import lines when saving code
8+
},
9+
"editor.defaultFormatter": "charliermarsh.ruff", // Using Ruff for Formatter
10+
"editor.formatOnSave": true // Perform formatting when saving code
411
}
512
}

0 commit comments

Comments
 (0)