Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Make release.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed Feb 2, 2024
1 parent 986b684 commit 6ccec96
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 38 deletions.
43 changes: 5 additions & 38 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install general requirements
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install requirements
Expand All @@ -62,17 +62,6 @@ jobs:
cache-downloads: false
- name: Python version
run: python --version
- name: Checkout pyleco
uses: actions/checkout@v3
with:
repository: pymeasure/pyleco
path: './requirements' # protected name, ignored by setuptools
- name: Install Pyleco
# If the pytest problem matcher stops working because of bad paths, do an editable install
run: |
cd requirements
pip install .[dev]
cd ..
- name: Install pyleco extras
run: pip install -e .[gui,dev] # editable for covtest
- name: Test for Coverage
Expand All @@ -96,7 +85,7 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install requirements
Expand All @@ -107,21 +96,10 @@ jobs:
cache-downloads: false
- name: Python version
run: python --version
- name: Checkout pyleco
uses: actions/checkout@v3
with:
repository: pymeasure/pyleco
path: './requirements' # protected name, ignored by setuptools
- name: Install Pyleco
# If the pytest problem matcher stops working because of bad paths, do an editable install
run: |
cd requirements
pip install .[dev]
cd ..
- name: Install mypy
run: pip install mypy
- name: Run mypy
run: mypy . --exclude requirements
run: mypy .

test:
name: Python ${{ matrix.python-version }}, ${{ matrix.os }}
Expand All @@ -135,7 +113,7 @@ jobs:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install requirements
Expand All @@ -147,17 +125,6 @@ jobs:
cache-downloads: false
- name: Python version
run: python --version
- name: Checkout pyleco
uses: actions/checkout@v3
with:
repository: pymeasure/pyleco
path: './requirements' # protected name, ignored by setuptools
- name: Install Pyleco
# If the pytest problem matcher stops working because of bad paths, do an editable install
run: |
cd requirements
pip install .[dev]
cd ..
- name: Install pyleco extras
run: pip install -e .[gui,dev] # editable for covtest
- name: Run pytest under Linux with xvfb
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
# CHANGELOG

## [0.1.0] 2024-02-02

_Initial release_

[unreleased]: https://github.com/BenediktBurger/pyleco-extras/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/BenediktBurger/pyleco-extras/releases/tag/v0.1.0
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ This module offers additional actors, directors, etc.
It also offers some GUI utils for easier control of the PyLECO Components.

[![codecov](https://codecov.io/gh/BenediktBurger/pyleco-extras/graph/badge.svg?token=BHDA9OKK7C)](https://codecov.io/gh/BenediktBurger/pyleco-extras)
[![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org)


## Installation

1. Clone this repository,
2. change your working directory to this file,
3. Install with pip editable: `pip install -e .`

For updates just pull the main branch.


## GUI Tools

Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- jsonrpc2-pyclient==4.3.0
- openrpc==8.1.0
- uuid7==0.1.0
- pyleco==0.1.0
# Development dependencies below
- pytest=7.2.0
- pytest-cov=4.1.0
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ requires-python = ">=3.9"
dependencies = [
"pyleco",
"pint",
"numpy",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 6ccec96

Please sign in to comment.