Remove aggregate phase for javadoc #32
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: Run VTL TF TCK | |
| on: | |
| push: | |
| branches: [ '**' ] | |
| pull_request: | |
| branches: [ master, develop ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout main project | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Clone vtl spec repo (branch fix/tck-2.1) | |
| run: git clone --branch fix/tck-2.1 https://github.com/sdmx-twg/vtl.git | |
| - name: Install Python 3 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Run TCK generator script | |
| run: | | |
| DOC_VERSION=v2.1 python3 vtl/scripts/generate_tck_files.py | |
| - name: Move generated TCK zip to resources | |
| run: | | |
| mkdir -p coverage/src/main/resources | |
| mv vtl/tck/v2.1.zip coverage/src/main/resources/ | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - uses: s4u/maven-settings-action@v3.0.0 | |
| with: | |
| githubServer: false | |
| servers: | | |
| [{ | |
| "id": "Github", | |
| "username": "${{ secrets.GH_PACKAGES_USERNAME }}", | |
| "password": "${{ secrets.GH_PACKAGES_PASSWORD }}" | |
| }] | |
| - name: Cache Maven packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Build and run tests | |
| run: mvn clean test --batch-mode | |
| - name: Publish JUnit test results | |
| uses: dorny/test-reporter@v2 | |
| if: always() | |
| with: | |
| name: JUnit Test Report | |
| path: coverage/target/surefire-reports/*.xml | |
| reporter: java-junit | |
| fail-on-error: 'false' |