Add workflow for reference resource generation #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test reference resource generation | ||
| on: | ||
| pull_request: | ||
| # pull_request_target: | ||
| # paths: | ||
| # - test/generate_reference_resources.sh | ||
| schedule: | ||
| - cron: '0 0 * * 0' # on sunday | ||
| defaults: | ||
| run: | ||
| shell: bash -l -eo pipefail {0} | ||
| jobs: | ||
| test-reference-resource-generation: | ||
|
Check failure on line 16 in .github/workflows/reference_resources.yaml
|
||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| python-version: ['3.9'] | ||
| ffmpeg-version-for-tests: ['4.4.2', '5.1.2', '6.1.1', '7.0.1'] | ||
| needs: build | ||
| steps: | ||
| - name: Setup conda env | ||
| uses: conda-incubator/setup-miniconda@v2 | ||
| with: | ||
| auto-update-conda: true | ||
| miniconda-version: "latest" | ||
| activate-environment: test | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Check out repo | ||
| uses: actions/checkout@v3 | ||
| - name: Install ffmpeg | ||
| run: | | ||
| conda install "ffmpeg=${{ matrix.ffmpeg-version-for-tests }}" -c conda-forge | ||
| ffmpeg -version | ||
| - name: Run generation reference resources | ||
| run: | | ||
| test/generate_reference_resources.sh | ||