Skip to content

Bump @vue/eslint-config-prettier from 9.0.0 to 10.2.0 in /openc3/templates/tool_vue #5864

Bump @vue/eslint-config-prettier from 9.0.0 to 10.2.0 in /openc3/templates/tool_vue

Bump @vue/eslint-config-prettier from 9.0.0 to 10.2.0 in /openc3/templates/tool_vue #5864

Workflow file for this run

# Copyright 2026 OpenC3, Inc.
# All Rights Reserved.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See LICENSE.md for more details.
# This file may also be used under the terms of a commercial license
# if purchased from OpenC3, Inc.
name: Ruby Unit Tests
# Only run on a push to main to avoid running for all the dependabot PRs
on:
push:
branches:
- main
pull_request:
branches:
- "**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
RUBYOPT: --disable=frozen_string_literal
RUBYGEMS_URL: https://rubygems.org
permissions:
contents: read
jobs:
unit-test:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.4"]
permissions:
contents: read
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1.295.0
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
working-directory: openc3
- name: Run unit tests
run: bundle exec rake build spec
working-directory: openc3
env:
OPENC3_DEVEL: ${GITHUB_WORKSPACE}/openc3
- uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
with:
directory: openc3/coverage
flags: ruby-backend # See codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run unit tests without extensions
run: bundle exec rspec --tag no_ext
working-directory: openc3
env:
OPENC3_NO_EXT: 1
OPENC3_DEVEL: ${GITHUB_WORKSPACE}/openc3
- uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
with:
directory: openc3/coverage
flags: ruby-backend # See codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
# - name: SonarQube Scan
# uses: SonarSource/sonarqube-scan-action@v5
# with:
# projectBaseDir: openc3
# args: >
# -Dsonar.organization=openc3
# -Dsonar.projectKey=OpenC3_cosmos
# -Dsonar.ruby.coverage.reportPaths=coverage/coverage.json
# -Dsonar.sources=lib
# -Dsonar.tests=spec
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}