Skip to content

Workflow file for this run

name: Test and Release
on:
push
branches: [master]

Check failure on line 5 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
tags:
- 'v*'
jobs:
test_and_release:
name: Test and Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.7"
- 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
with:
name: "Test release for ${{ github.ref }}"
tag: ${{ github.ref }}
draft: true
generateReleaseNotes: true