Skip to content

317 ci tests are failing because ffmpeg installation does not work #693

317 ci tests are failing because ffmpeg installation does not work

317 ci tests are failing because ffmpeg installation does not work #693

Workflow file for this run

# Inspired by https://github.com/pyg-team/pytorch_geometric/blob/ee30973ed0957a7f29f345d4eeaf9cfd70805109/.github/workflows/testing.yml
name: Testing
on:
push:
branches:
- main
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
# Only run workflow if certain files have been changed.
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v47
with:
files: |
.github/workflows/testing.yml
src/**
tests/**
pyproject.toml
- name: Setup packages
if: steps.changed-files.outputs.any_changed == 'true'
uses: ./.github/actions/setup
- name: Run tests
if: steps.changed-files.outputs.any_changed == 'true'
run: |
pytest -m "not network and not benchmark and not gpu"
# Tests that depend on reaching external network services (e.g. networks.skewed.de)
# are flaky in CI, so they run separately and don't fail the build.
- name: Run network-dependent tests
if: steps.changed-files.outputs.any_changed == 'true'
continue-on-error: true
run: |
pytest -m network --no-cov