Skip to content

fallback to 3.7

fallback to 3.7 #3

name: Test and Release
on:
push:
tags:
- "v*"
jobs:
test_and_release:
name: Test and Release
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7"]
#python-version: ["3.7", "3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python (${{ matrix.python-version }})
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install beets
pip install pytest nose coverage mock six
- name: Test
run: |
pytest
- name: Create Release
uses: ncipollo/release-action@v1
# ref.: https://github.com/ncipollo/release-action
with:
name: ${{ github.ref_name }}
draft: false
generateReleaseNotes: true