Skip to content

Commit

Permalink
ci: setup attempt #4
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeyk committed Dec 17, 2024
1 parent ff83727 commit db3fe94
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,27 @@ jobs:
env:
TOX_GH_MAJOR_MINOR: ${{ matrix.env }}

install-dev:
name: Verify dev env
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
#install-dev:
# name: Verify dev env
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4

- name: Install Python
if: matrix.env != '3.13'
run: uv python install --python-preference only-managed ${{ matrix.env }}
# - name: Install uv
# uses: astral-sh/setup-uv@v3

# - name: Install Python
# if: matrix.env != '3.13'
# run: uv python install --python-preference only-managed ${{ matrix.env }}

- name: Install in dev mode
run: |
uv venv
uv pip install -e .[dev]
# - name: Install in dev mode
# run: |
# uv venv
# uv pip install -e .[dev]

- name: Try to import on Linux
if: runner.os == 'Linux'
run: |
source .venv/bin/activate
# - name: Try to import on Linux
# if: runner.os == 'Linux'
# run: |
# source .venv/bin/activate

python -Ic 'import belogging; print(belogging.__version__)'
# python -Ic 'import belogging; print(belogging.__version__)'

0 comments on commit db3fe94

Please sign in to comment.