diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 675d279..c3a37fc 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -11,12 +11,12 @@ jobs: matrix: os: ["ubuntu-latest"] python-version: - - "3.8" # minimum required + # - "3.8" # minimum required - "3.12" # latest - - "3.13-dev" # next - include: - - python-version: 3.8 - os: windows-2022 + # - "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' }} @@ -31,29 +31,32 @@ 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 + - run: poetry run coverage xml - uses: coverallsapp/github-action@v2 if: > - github.event_name == 'pull_request' && - matrix.python-version == '3.8' && + github.event_name == 'push' && + matrix.python-version == '3.12' && 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