File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Autotest (End-to-End)"
2+ # We allow this autotest to fail since it currently requires exact match of output, which is not always appropriate.
3+
4+ on :
5+ push :
6+ branches :
7+ - " main"
8+ workflow_dispatch :
9+
10+ jobs :
11+ autotest :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+ - name : " Download assets"
17+ uses : actions/checkout@v4
18+ with :
19+ repository : " PrepPipe/preppipe-assets"
20+ ref : " main"
21+ path : assets
22+ - name : " Download test repo"
23+ uses : actions/checkout@v4
24+ with :
25+ repository : " PrepPipe/preppipe-test"
26+ ref : " main"
27+ path : preppipe-test
28+ - uses : ./.github/actions/build
29+ - name : build assets
30+ shell : bash
31+ run : python3 -X utf8 ./build_assets.py --export-built-embedded src/preppipe/assets/_install
32+ - name : Install test dependencies
33+ shell : bash
34+ run : |
35+ python3 -m pip install --upgrade pip
36+ pip install pytest
37+ - name : Run tests
38+ shell : bash
39+ run : |
40+ pytest -v --tb=short preppipe-test/
Original file line number Diff line number Diff line change @@ -158,6 +158,9 @@ _antlr_generated
158158# source assets repo
159159assets /
160160
161+ # end-to-end test repo
162+ preppipe-test /
163+
161164# generated asset packs
162165src /preppipe /assets /_install
163166
You can’t perform that action at this time.
0 commit comments