revert static-ffmpeg in image due to ffmpeg bug... #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Build | |
run: cargo build --verbose | |
- name: Install ffmpeg and redis | |
run: sudo apt-get install redis-server ffmpeg | |
- name: Install yt-dlp | |
run: python3 -m pip install -U yt-dlp | |
- name: Start Redis server | |
run: redis-server --daemonize yes | |
- name: Run tests | |
run: cargo test --verbose |