test-main #123
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: test-main | |
run-name: test-main | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: run all tests | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable | |
- run: sudo apt-get update | |
- run: sudo apt-get install gdal-bin libgdal-dev | |
- run: npm install | |
- run: npm run lint | |
- run: npm run setup | |
# list all files in the data folder for debugging purposes | |
- run: find ./data | |
- run: npm run test | |
# see https://github.com/webpack/webpack/issues/14532 | |
- run: NODE_OPTIONS=--openssl-legacy-provider npm run build | |
- run: npm run test-loading-builds |