Bump the go group with 2 updates (#72) #102
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: FTs | |
on: [push, pull_request] | |
jobs: | |
functional-tests: | |
name: ${{ matrix.language }} ${{ matrix.os }} FTs | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# no windows because `go run build/make.go --distro` errors (can't find zip executable) | |
os: [ubuntu-latest, macos-latest] | |
language: [java] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version-file: 'go.mod' | |
- name: Install Gauge | |
uses: getgauge/setup-gauge@master | |
with: | |
gauge-version: master | |
gauge-plugins: java, html-report, screenshot | |
- name: Install spectacle | |
run: | | |
go run build/make.go && go run build/make.go --distro | |
gauge install spectacle --file $(ls -d bin/distros/*.zip) | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Run FTs | |
run: | | |
cd functional-tests | |
./gradlew clean ft | |
- name: Upload logs | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: ft-logs-ubuntu-latest | |
path: functional-tests/logs |