Skip to content

Commit 6c72059

Browse files
committed
test on multiple python versions
1 parent bafd590 commit 6c72059

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/test_and_release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ jobs:
99
test_and_release:
1010
name: Test and Release
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.7", "3.10", "3.12"]
1215
steps:
1316
- uses: actions/checkout@v4
14-
- name: Set up Python
17+
- name: Set up Python (${{ matrix.python-version }})
1518
uses: actions/setup-python@v5
1619
with:
17-
python-version: "3.7"
20+
python-version: ${{ matrix.python-version }}
1821
- name: Install dependencies
1922
run: |
2023
python -m pip install --upgrade pip

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Test and Release](https://github.com/adamjakab/BeetsPluginBpmAnalyser/actions/workflows/test_and_release.yml/badge.svg)](https://github.com/adamjakab/BeetsPluginBpmAnalyser/actions/workflows/test_and_release.yml)
12
[![PyPi](https://img.shields.io/pypi/v/beets-bpmanalyser.svg)](https://pypi.org/project/beets-bpmanalyser/)
23
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.txt)
34

0 commit comments

Comments
 (0)