Skip to content

Commit

Permalink
Update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome committed Jul 22, 2024
1 parent 61d4a22 commit 6382c87
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: pr
name: Test

on: pull_request

jobs:
Expand All @@ -8,36 +9,28 @@ jobs:
- uses: actions/checkout@v2
# Run isort + black formatter
- name: Python Code Formatter
uses: descriptinc/python-format-action@master
uses: descriptinc/python-format-action@main

build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v1
id: cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/*requirements.txt') }}
restore-keys: |
${{ runner.os }}-${{ matrix.python-version }}-pip-
- name: Checkout LFS objects
run: git lfs checkout
cache: pip
cache-dependency-path: setup.py
- name: Install binaries
run: |
sudo apt-get update
sudo apt-get install ffmpeg
sudo apt-get install libsndfile1-dev libsox-dev libsox-fmt-mp3
sudo apt-get install ffmpeg libsndfile1-dev libsox-dev libsox-fmt-mp3
python -m pip install --upgrade pip
pip install wheel
- name: Install recent FFMPEG
Expand Down

0 comments on commit 6382c87

Please sign in to comment.