Skip to content

Commit

Permalink
wip: fix coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Apr 11, 2024
1 parent 9e226ef commit e109b15
Showing 1 changed file with 26 additions and 24 deletions.
50 changes: 26 additions & 24 deletions .github/workflows/main.yaml
Expand Up @@ -12,11 +12,11 @@ jobs:
os: ["ubuntu-latest"]
python-version:
- "3.8" # minimum required
- "3.12" # latest
- "3.13-dev" # next
include:
- python-version: 3.8
os: windows-2022
# - "3.12" # latest
# - "3.13-dev" # next
# include:
# - python-version: 3.8
# os: windows-2022

runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.python-version == '3.13-dev' }}
Expand All @@ -31,29 +31,31 @@ 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: poetry run pytest
- uses: coverallsapp/github-action@v2
if: >
github.event_name == 'pull_request' &&
github.event_name == 'push' &&
matrix.python-version == '3.8' &&
matrix.os == 'ubuntu-latest'
with:
debug: true

build-beets-master:
runs-on: ubuntu-latest
# build-beets-master:
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: 3.8
cache: poetry
- run: poetry env use $(which python)
- run: poetry install
# We cannot use `poetry add` because poetry does not install beets
# dependencies properly
- run: poetry run pip install "git+https://github.com/beetbox/beets#master"
- run: poetry run pytest
# steps:
# - uses: actions/checkout@v4
# - run: pip install poetry
# - uses: actions/setup-python@v5
# with:
# python-version: 3.8
# cache: poetry
# - run: poetry env use $(which python)
# - run: poetry install
# # We cannot use `poetry add` because poetry does not install beets
# # dependencies properly
# - run: poetry run pip install "git+https://github.com/beetbox/beets#master"
# - run: poetry run pytest

0 comments on commit e109b15

Please sign in to comment.