ci: install ffmpeg only if linting succeeds
This commit is contained in:
parent
c09d01cd55
commit
e54d57c365
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -14,10 +14,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install ffmpeg
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -yq --no-install-recommends ffmpeg
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
|
|
@ -34,6 +30,10 @@ jobs:
|
|||
- name: Type check
|
||||
if: '!cancelled()'
|
||||
run: mypy
|
||||
- name: Install ffmpeg
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -yq --no-install-recommends ffmpeg
|
||||
- name: Test
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user