Skip to content

Commit

Permalink
Check that index script runs without errors in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pnorman committed Jul 26, 2022
1 parent 3ce40ca commit 0f51b35
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ jobs:
run: diff -qu <(scripts/generate_road_colours.py) style/road-colors-generated.mss
- name: Check for unsupported class usage
run: '! grep "class:" project.mml > /dev/null'
- name: Check that index script works without errors
run: |
scripts/indexes.py --fillfactor 100 > /dev/null &&
scripts/indexes.py --concurrent > /dev/null &&
scripts/indexes.py --reindex > /dev/null &&
scripts/indexes.py --concurrent --reindex > /dev/null &&
scripts/indexes.py --notexist > /dev/null &&
scripts/indexes.py --zero && > /dev/null &&
scripts/indexes.py --zero && > /dev/null
import:
needs: [syntax]
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 0f51b35

Please sign in to comment.