Linked & described some telemetry data #17
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
# SPDX-License-Identifier: LGPL-2.1-or-later | |
# *************************************************************************** | |
# * * | |
# * Copyright (c) 2025 The FreeCAD project association AISBL * | |
# * * | |
# * This file is part of Telemetry, a FreeCAD addon. * | |
# * * | |
# * Telemetry is free software: you can redistribute it and/or modify it * | |
# * under the terms of the GNU Lesser General Public License as * | |
# * published by the Free Software Foundation, either version 2.1 of the * | |
# * License, or (at your option) any later version. * | |
# * * | |
# * Telemetry 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 the GNU * | |
# * Lesser General Public License for more details. * | |
# * * | |
# * You should have received a copy of the GNU Lesser General Public * | |
# * License along with Telemetry. If not, see * | |
# * <https://www.gnu.org/licenses/>. * | |
# * * | |
# *************************************************************************** | |
# Main CI entry point for the Telemetry Addon. | |
name: Run Python Unit Tests | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --no-cache-dir --require-hashes -r requirements.txt | |
- name: Run tests | |
run: python -m unittest discover Tests |