Skip to content

Commit

Permalink
chore: use uv and upgrade actions (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatlittleboy authored Aug 18, 2024
1 parent d4c1310 commit 9e4f2a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: db_count
run: |
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
check-latest: false

- name: Setup python dependencies
run: pip install ".[dev]"
# Do regular install NOT editable install
run: |
python -m pip install --upgrade uv
uv pip install --system '.[dev]'
- name: Run the comparison of gallery files
run: |
Expand All @@ -55,21 +58,24 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
experimental: [false]
# include:
# - python-version: "3.12-dev"
# - python-version: "3.13-dev"
# experimental: true

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
check-latest: false

- name: Setup python dependencies
run: pip install ".[dev]"
# Do regular install NOT editable install
run: |
python -m pip install --upgrade uv
uv pip install --system '.[dev]'
- name: Run pytest
run: |
Expand Down

0 comments on commit 9e4f2a8

Please sign in to comment.