diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eda77f7..1f0317d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,8 @@ jobs: with: python-version: ${{ matrix.python-version }} allow-prereleases: true - - run: ${{ ( startsWith( matrix.os, 'windows' ) && 'bash add_libmagic.sh' ) || 'sudo -E bash add_libmagic.sh' }} + - name: Copy libmagic into magic dir + run: ${{ ( startsWith( matrix.os, 'windows' ) && 'bash add_libmagic.sh' ) || 'sudo -E bash add_libmagic.sh' }} - run: pip install --upgrade pip - run: pip install --upgrade pytest - run: pip install --editable . diff --git a/README.md b/README.md index 0aeb9f8..89c1807 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ apt-get update && apt-get install -y libmagic1 # Alpine apk add --update libmagic # RHEL -yum install file-libs +dnf install file-libs ``` ### Windows