Skip to content

Commit e360c6e

Browse files
committed
Add workflow for reference resouce generation
1 parent 59af4b7 commit e360c6e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Test reference resource generation
2+
3+
on:
4+
push:
5+
paths:
6+
- test/generate_reference_resources.sh
7+
workflow_dispatch:
8+
schedule:
9+
- cron: '0 0 * * 0' # on sunday
10+
11+
defaults:
12+
run:
13+
shell: bash -l -eo pipefail {0}
14+
15+
jobs:
16+
test-reference-resource-generation:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
python-version: ['3.9']
22+
ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1']
23+
needs: build
24+
steps:
25+
- name: Setup conda env
26+
uses: conda-incubator/setup-miniconda@v2
27+
with:
28+
auto-update-conda: true
29+
miniconda-version: "latest"
30+
activate-environment: test
31+
python-version: ${{ matrix.python-version }}
32+
- name: Check out repo
33+
uses: actions/checkout@v3
34+
- name: Install ffmpeg
35+
run: |
36+
conda install "ffmpeg=${{ matrix.ffmpeg-version-for-tests }}" -c conda-forge
37+
ffmpeg -version
38+
- name: Run generation reference resources
39+
run: |
40+
test/generate_reference_resources.sh

0 commit comments

Comments
 (0)