Skip to content

Commit

Permalink
Merge branch 'develop' into 'main'
Browse files Browse the repository at this point in the history
Develop

See merge request cpes/european-projects/enershare/tsg-client!53
  • Loading branch information
carolinacatorze committed Apr 17, 2024
1 parent e62c79f commit 1575ff2
Show file tree
Hide file tree
Showing 5 changed files with 132 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
stages:
- lint
- test
- deploy

ruff:
Expand All @@ -14,6 +15,17 @@ ruff:
script:
- ruff check .

unit_tests:
image:
name: python:3.9-slim-bookworm
entrypoint: [ "/usr/bin/env" ]
stage: test
before_script:
- pip install poetry
- poetry install
script:
- poetry run pytest unittests/

mirror_to_github:
stage: deploy
image: docker
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
[![Status](https://img.shields.io/badge/status-development-brightgreen.svg)]()
[![Python](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/release/python-390/)
![CI](https://github.com/CPES-Power-and-Energy-Systems/tsg-client/actions/workflows/publish_docs.yml/badge.svg)
![UnitTEST](https://img.shields.io/badge/unit_testing-passing-brightgreen)

## Overview

Expand Down
115 changes: 114 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ myst_parser = "~2.0.0"
sphinx = "~7.2.6"
sphinx-rtd-theme = "~2.0.0"
ruff = "^0.3.2"
bcrypt = "^4.1.2"
pytest = "^8.1.1"


[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
File renamed without changes.

0 comments on commit 1575ff2

Please sign in to comment.