Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Jan 10, 2025
1 parent 2b25337 commit d0d6b4d
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
matrix:
os: ["ubuntu-latest"]
python-version:
# - "3.10" # minimum required
- "3.10" # minimum required
- "3.13" # latest
# include:
# - python-version: "3.10"
# os: windows-2022
# - python-version: "3.10"
# os: macos-12
include:
- python-version: "3.10"
os: windows-latest
- python-version: "3.10"
os: macos-latest

runs-on: ${{ matrix.os }}

Expand All @@ -31,12 +31,12 @@ jobs:
cache: poetry
- run: poetry env use ${{ steps.setup-python.outputs.python-path }}
- run: poetry install
# - run: poetry run ruff format --check
# - run: poetry run ruff check
# - run: poetry run pyright --warnings
- run: poetry run ruff format --check
- run: poetry run ruff check
- run: poetry run pyright --warnings
- run: sudo apt-get install -y imagemagick
- run: poetry run pytest
# - run: poetry run coverage xml
- run: poetry run coverage xml
- uses: coverallsapp/github-action@v2
if: >
(github.event_name == 'pull_request' || github.ref_name == 'main') &&
Expand All @@ -46,23 +46,23 @@ jobs:
# Ignore .coverage, which has limited support from coveralls
file: coverage.xml

# build-beets-versions:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# beets:
# - "git+https://github.com/beetbox/beets#master"
# - "beets==1.6.1"
build-beets-versions:
runs-on: ubuntu-latest
strategy:
matrix:
beets:
- "git+https://github.com/beetbox/beets#master"
- "beets==1.6.1"

# steps:
# - uses: actions/checkout@v4
# - run: pip install poetry
# - uses: actions/setup-python@v5
# with:
# python-version: "3.10"
# cache: poetry
# - run: poetry env use $(which python)
# - run: poetry install
# - run: poetry add ${{ matrix.beets }}
# - run: poetry run pyright --warnings
# - run: poetry run pytest
steps:
- uses: actions/checkout@v4
- run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: poetry
- run: poetry env use $(which python)
- run: poetry install
- run: poetry add ${{ matrix.beets }}
- run: poetry run pyright --warnings
- run: poetry run pytest

0 comments on commit d0d6b4d

Please sign in to comment.