Enhancing ocio config embedding of looks #27
This file contains 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: run all tests | |
on: | |
pull_request: | |
branches: ["main", "develop"] | |
jobs: | |
full_test_suite: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: restore poetry cache | |
uses: actions/cache@v4 | |
id: restore-poetry | |
with: | |
path: .poetry | |
key: ${{ runner.os }}-poetry | |
- name: restore poetry lock file | |
uses: actions/cache@v4 | |
id: restore-poetry-lockfile | |
with: | |
path: poetry.lock | |
key: ${{ runner.os }}-poetry-lockfile | |
- name: restore vendor cache | |
uses: actions/cache@v4 | |
id: restore-vendor | |
with: | |
path: vendor | |
key: ${{ runner.os }}-vendor | |
- name: install LabLib | |
run: | | |
.\start.ps1 install | |
- name: get dependencies | |
if: steps.restore-vendor.outputs.cache-hit != 'true' | |
run: | | |
.\start.ps1 get-dependencies | |
- name: run all tests | |
run: | | |
.\start.ps1 test | |
- name: save vendor dependencies cache | |
if: steps.restore-vendor.outputs.cache-hit != 'true' | |
uses: actions/cache/save@v4 | |
id: cache-vendor | |
with: | |
path: vendor | |
key: ${{ runner.os }}-vendor | |
- name: save poetry cache | |
if: steps.restore-poetry.outputs.cache-hit != 'true' | |
uses: actions/cache/save@v4 | |
id: cache-poetry | |
with: | |
path: .poetry | |
key: ${{ runner.os }}-poetry | |
- name: save poetry lock file | |
if: steps.restore-poetry-lockfile.outputs.cache-hit != 'true' | |
uses: actions/cache/save@v4 | |
id: cache-poetry-lockfile | |
with: | |
path: poetry.lock | |
key: ${{ runner.os }}-poetry |