Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,38 @@ jobs:
run: python -m src.HwCodecDetect.run_tests --encoder-count 8 --decoder-count 8
working-directory: HwCodecDetect

test-on-archlinux:
runs-on: ubuntu-latest

container:
image: archlinux:latest

env:
PYTHONIOENCODING: utf-8

steps:
- name: Update system and install dependencies
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm python python-pip git ffmpeg

- name: Clone HwCodecDetect
run: git clone -b main --single-branch https://github.com/whyb/HwCodecDetect.git

- name: Create virtualenv and install project
run: |
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e .
working-directory: HwCodecDetect

- name: Run tests
run: |
source .venv/bin/activate
python -m src.HwCodecDetect.run_tests --encoder-count 8 --decoder-count 8
working-directory: HwCodecDetect

test-on-macos:
runs-on: macos-latest

Expand Down
Loading