Skip to content

Housekeeping: fix edgar version, doc cleanup, and enable unit tests #3

Housekeeping: fix edgar version, doc cleanup, and enable unit tests

Housekeeping: fix edgar version, doc cleanup, and enable unit tests #3

Workflow file for this run

# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Unit tests
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Fail on draft PRs
if: github.event.pull_request.draft == true
run: |
echo "Failing on draft PR to enforce this check to run"
exit 1
- name: Setup for test
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv --python 3.12
uv pip install pytest pytest-cov pytest-timeout
uv pip install PyYAML omegaconf rich
uv pip install -e . --no-deps
- name: Test
run: |
.venv/bin/pytest tests/ -v --tb=short