Skip to content

Introduce CI/CD for TensorFLow version #170

Introduce CI/CD for TensorFLow version

Introduce CI/CD for TensorFLow version #170

Workflow file for this run

name: Run Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10"]
include:
- os: ubuntu-latest
path: ~/.cache/pip
- os: macos-latest
path: ~/Library/Caches/pip
- os: windows-latest
path: ~\AppData\Local\pip\Cache
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install ffmpeg
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
sudo apt-get install ffmpeg
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install ffmpeg
else
choco install ffmpeg
fi
shell: bash
- name: Install and test
run: |
python -m pip install --upgrade pip wheel poetry
python -m poetry install
python -m poetry run dlc-live-test --nodisplay