Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Fix potential invalid iterator dereference (#514) #1495

Fix potential invalid iterator dereference (#514)

Fix potential invalid iterator dereference (#514) #1495

name: Integration Test
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2022
artifact-name: Win64
test-type: Analysis
# Windows generation test hangs
#- os: windows-2022
# artifact-name: Win64
# test-type: Generation
- os: ubuntu-22.04
artifact-name: Linux
test-type: Analysis
# Linux generation test hangs
#- os: ubuntu-22.04
# artifact-name: Linux
# test-type: Generation
# macOS analysis test hangs
# - os: macos-11
# artifact-name: macOS
# test-type: Analysis
# macOS generation test returns failure with no error message
# - os: macos-11
# artifact-name: macOS
# test-type: Generation
name: "${{ matrix.test-type }} - ${{ matrix.artifact-name }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 13
- name: Install RoboRIO Toolchain
run: ./gradlew installRoborioToolchain
- name: Run Integration Tests
run: ./gradlew run${{ matrix.test-type }}IntegrationTests -PwithIntegration
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: Upload Bad Json
path: jsons/
if-no-files-found: ignore