Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Sep 11, 2024
1 parent 353b62c commit 82bfe21
Showing 1 changed file with 49 additions and 48 deletions.
97 changes: 49 additions & 48 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
strategy:
matrix:
python-version:
- "3.9" # minimum required
- "3.12" # latest
# - "3.9" # minimum required
# - "3.12" # latest
- "3.13-dev" # next

runs-on: ubuntu-latest
Expand All @@ -21,55 +21,56 @@ jobs:
UV_PYTHON: ${{ matrix.python-version }}

steps:
- run: sudo apt-get install flac mp3val oggz-tools
# - run: sudo apt-get install flac mp3val oggz-tools
- uses: actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: uv cache
uses: actions/cache@v4
with:
path: ${{ env.UV_CACHE_DIR}}
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
restore-keys: |
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
uv-${{ runner.os }}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: uv lock --locked
- run: uv sync --all-extras --dev
- run: uv run ruff check .
- run: uv run pytest
- run: uv cache prune --ci
- run: uv python list
# - name: uv cache
# uses: actions/cache@v4
# with:
# path: ${{ env.UV_CACHE_DIR}}
# key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
# restore-keys: |
# uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
# uv-${{ runner.os }}
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - run: uv lock --locked
# - run: uv sync --all-extras --dev
# - run: uv run ruff check .
# - run: uv run pytest
# - run: uv cache prune --ci

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

runs-on: ubuntu-latest
env:
UV_PYTHON: "3.9"
# runs-on: ubuntu-latest
# env:
# UV_PYTHON: "3.9"

steps:
- run: sudo apt-get install flac mp3val oggz-tools
- uses: actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: uv cache
uses: actions/cache@v4
with:
path: ${{ env.UV_CACHE_DIR}}
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
restore-keys: |
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
uv-${{ runner.os }}
- uses: actions/setup-python@v5
with:
python-version: ${{ env.UV_PYTHON }}
- run: uv lock -P ${{ matrix.beets }}
- run: uv sync --all-extras --dev
- run: uv run pytest
- run: uv cache prune --ci
# steps:
# - run: sudo apt-get install flac mp3val oggz-tools
# - uses: actions/checkout@v4
# - name: Set up uv
# run: curl -LsSf https://astral.sh/uv/install.sh | sh
# - name: uv cache
# uses: actions/cache@v4
# with:
# path: ${{ env.UV_CACHE_DIR}}
# key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
# restore-keys: |
# uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
# uv-${{ runner.os }}
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ env.UV_PYTHON }}
# - run: uv lock -P ${{ matrix.beets }}
# - run: uv sync --all-extras --dev
# - run: uv run pytest
# - run: uv cache prune --ci

0 comments on commit 82bfe21

Please sign in to comment.