Skip to content
Snippets Groups Projects
Commit cae2870c authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-259: Clean up of some initial solutions

parent c0878fdf
No related branches found
No related tags found
1 merge request!58L2SS-259: Integrate unit tests using Continuous Integration (CI)
image: artefact.skatelescope.org/ska-tango-images/tango-itango:9.3.3.7 image: artefact.skatelescope.org/ska-tango-images/tango-itango:9.3.3.7
variables: variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# The PBR dependency requires a set version, not actually used
PBR_VERSION: "0.1" PBR_VERSION: "0.1"
cache: cache:
paths: paths:
- .cache/pip - .cache/pip
- .tox - devices/.tox
before_script: .before_script_template: &before_unit_test
- sudo apt-get update before_script:
- sudo apt-get install -y git - sudo apt-get update
- sudo apt-get install -y git
stages: stages:
- linting - linting
- unit-tests - unit-tests
...@@ -20,6 +22,7 @@ linting: ...@@ -20,6 +22,7 @@ linting:
- tox -e pep8 - tox -e pep8
unit_test: unit_test:
stage: unit-tests stage: unit-tests
<<: *before_unit_test
script: script:
- cd devices - cd devices
- tox -e py37 - tox -e py37
\ No newline at end of file
[metadata] [metadata]
name = TangoStationControl name = TangoStationControl
summary = LOFAR 2.0 Station Control summary = LOFAR 2.0 Station Control
#description-file = description-file =
# README.rst README.md
description-content-type = text/x-rst; charset=UTF-8 description-content-type = text/x-rst; charset=UTF-8
author = ASTRON author = ASTRON
#home-page = https://dantalion.nl home-page = https://astron.nl
#project_urls = project_urls =
# Bug Tracker = https://github.com/Dantali0n/RadLoggerPy/issues Bug Tracker = https://support.astron.nl/jira/projects/L2SS/issues/
# Documentation = https://docs.openstack.org/pbr/ Source Code = https://git.astron.nl/lofar2.0/tango
# Source Code = https://github.com/Dantali0n/radloggerpy
license = Apache-2 license = Apache-2
classifier = classifier =
Environment :: Console Environment :: Console
...@@ -23,11 +22,9 @@ classifier = ...@@ -23,11 +22,9 @@ classifier =
Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.9
[files] [files]
packages = package_dir=./
./
[entry_points] [entry_points]
console_scripts = console_scripts =
SDP = SDP:main SDP = SDP:main
PCC = PCC:main PCC = PCC:main
import setuptools import setuptools
# Requires: setup.cfg
setuptools.setup(setup_requires=['pbr>=2.0.0'], pbr=True) setuptools.setup(setup_requires=['pbr>=2.0.0'], pbr=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment