Bumped version of plugins #16
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: test | |
| # Run the tests when code is pushed to `main` | |
| on: | |
| push: | |
| branches: [ main ] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Add hosts entry | |
| run: echo "127.0.0.1 local.lattejava.org" | sudo tee -a /etc/hosts | |
| - name: Install Savant Build | |
| run: | | |
| curl -fsSL https://lattejava.org/javaenv/install | bash | |
| curl -fsSL https://lattejava.org/cli/install | bash | |
| ~/.local/bin/javaenv install 21 | |
| ~/.local/bin/javaenv install 25 | |
| cat <<EOF > ~/.config/latte/config.properties | |
| latteRepositoryS3AccessKeyID=fake | |
| latteRepositoryS3SecretAccessKey=fakse | |
| latteRepositoryS3URL=https://fake.r2.cloudflarestorage.com⏎ | |
| EOF | |
| shell: bash | |
| - name: Run the build | |
| run: | | |
| export PATH=~/.local/bin:$PATH | |
| latte clean int --excludePerformance --excludeTimeouts | |
| shell: bash | |
| - name: Archive TestNG reports | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testng-reports | |
| path: build/test-reports | |
| retention-days: 1 |