Skip to content

Commit

Permalink
Update python-test-published-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
reyammer authored Nov 21, 2024
1 parent 6fe7b99 commit 39c6341
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python-test-published-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
schedule:
- cron: '42 4 * * *' # Run daily
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/python-test-published-package.yml'

permissions:
contents: read
Expand All @@ -26,10 +29,11 @@ jobs:
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # pin@v5
with:
python-version: '${{ matrix.python-version }}'
- if: matrix.platform.runner != 'windows-latest'
# uv's oneline below does not work on windows; uv add magika==0.5.1 is known to not work with python 3.8 and 3.9
- if: matrix.os != "windows-latest" && matrix.python-version != "3.8" && matrix.python-version != "3.9"
name: Install uv
run: curl -LsSf https://astral.sh/uv/0.4.7/install.sh | sh
- if: matrix.platform.runner != 'windows-latest'
- if: matrix.os != "windows-latest" && matrix.python-version != "3.8" && matrix.python-version != "3.9"
name: Check that magika can be installed with uv
run: mkdir /tmp/test-uv && cd /tmp/test-uv && uv init && uv add magika && cd - && rm -rf /tmp/test-uv
- name: Install magika with pip
Expand Down

0 comments on commit 39c6341

Please sign in to comment.