Skip to content

Commit 0bcecac

Browse files
authored
Improve FATE testing
1 parent 36d8016 commit 0bcecac

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,7 @@ jobs:
1919
2020
- name: Checkout
2121
uses: actions/checkout@v2
22-
23-
- name: Checkout Fate
24-
uses: actions/checkout@v2
25-
if: github.ref == 'refs/heads/develop'
26-
with:
27-
repository: sandflow/ffmpeg-imf-fate
28-
path: ./fate-suite
29-
token: ${{ secrets.GITHUBPAT }}
30-
persist-credentials: true
31-
ref: 6482e3fb12fe9fbfe4ceb8ecdb1774ac853408c5
32-
22+
3323
- name: Check code style
3424
run: |
3525
./imf-check-style.sh
@@ -40,12 +30,18 @@ jobs:
4030
- name: Build
4131
run: make -j 8
4232

43-
- name: Basic unit tests
33+
- name: Basic tests
4434
if: github.ref != 'refs/heads/develop'
4535
run: |
4636
./imf-unit-tests.sh
4737
48-
- name: Run Fate
49-
if: github.ref == 'refs/heads/develop'
38+
- name: Cache FATE
39+
uses: actions/cache@v2
40+
with:
41+
path: ./fate-suite
42+
key: fate
43+
44+
- name: Update and run Fate
5045
run: |
51-
FATE_SAMPLES=fate-suite/ make fate
46+
make fate-rsync SAMPLES=fate-suite/
47+
make fate SAMPLES=fate-suite/

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@
4444
.vscode
4545
/dist
4646
/fate-suite
47-
/build
47+
/build
48+
libavcodec/tests/avcodec
49+
tools/scale_slice_test

0 commit comments

Comments
 (0)