Skip to content

fix(dockerfile): Fix cudnn library mismatch error for audio transcrip… #1032

fix(dockerfile): Fix cudnn library mismatch error for audio transcrip…

fix(dockerfile): Fix cudnn library mismatch error for audio transcrip… #1032

Workflow file for this run

name: Test project
on:
pull_request:
branches:
- "main"
push:
branches:
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
codeql:
name: Perform CodeQL analysis
if: ${{ github.repository == 'livepeer/comfystream' }}
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: typescript,javascript,python
config-file: ./.github/codeql-config.yaml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
editorconfig:
name: Run editorconfig checker
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
with:
# Check https://github.com/livepeer/go-livepeer/pull/1891
# for ref value discussion
ref: ${{ github.event.pull_request.head.sha }}
- name: Install editorconfig-checker
uses: editorconfig-checker/action-editorconfig-checker@main
- name: Run editorconfig checker against the repo
if: false
# disabled editorconfig lint rule for now
run: editorconfig-checker --format github-actions
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
with:
# Check https://github.com/livepeer/go-livepeer/pull/1891
# for ref value discussion
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install '.[dev]'
- name: Run tests
run: pytest --cov --verbose --showlocals
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CI_CODECOV_TOKEN }}
name: ${{ github.event.repository.name }}