Update fragments register schema and refactor root information (ID, t… #26
This file contains hidden or 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: XQUnit Tests | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install BaseX | |
| run: | | |
| wget https://files.basex.org/releases/11.9/BaseX119.zip | |
| unzip BaseX119.zip | |
| - name: Prepare test | |
| run: | | |
| bash scripts/project_create.sh --basex_path './basex/bin' --project_dir_path 'data_test/encpos_by_abstract' --top_collection_id 'test' --db_name 'test' | |
| - name: Run tests | |
| run: | | |
| ./basex/bin/basex -b dbName=test -b projectDirPath=data_test/encpos_by_abstract -b topCollectionId=test -b option='false()' -W -o xqunit.xml -t tests/project_create/ | |
| - name: Upload results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: xqunit | |
| path: xqunit.xml |