Skip to content

Commit

Permalink
updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Nov 8, 2023
1 parent cbd30f8 commit 77529b7
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup constants
shell: bash
Expand Down Expand Up @@ -67,14 +67,14 @@ jobs:
- name: Use new Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.11'
architecture: x64

- name: Fetch Python dependencies
run: |
pip install -r tests/requirements.txt
- uses: suisei-cn/actions-download-file@v1
- uses: suisei-cn/actions-download-file@v1.4.0
name: Download Toit
with:
url: ${{ env.TOIT_URL }}
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
# Zero-Clause BSD License

# Copyright (C) 2023 Toitware ApS.

# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.

# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.

name: Publish package
on:
push:
tags:
- 'v*'
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-*'
jobs:
create-release:
name: Create new release
runs-on: ubuntu-latest
steps:
- name: Publish
uses: toitlang/pkg-publish@v1.0.2
uses: toitlang/pkg-publish@v1.4.0
2 changes: 2 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The safe choice is to consider them BSD as well.

## Installation

pymodbus=3.0.0.dev4 requires the 'imp' module, which was removed with Python 3.12.

Install with

``` shell
Expand Down
4 changes: 2 additions & 2 deletions tests/test_server.toit
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ start_server mode/string:
fork_data := pipe.fork
true // use_path.
pipe.PIPE_INHERITED // stdin.
pipe.PIPE_INHERITED // stdin.
pipe.PIPE_INHERITED // stdin.
pipe.PIPE_CREATED // stdout.
pipe.PIPE_CREATED // stderr.
"python" // program.
args
return [
Expand Down

0 comments on commit 77529b7

Please sign in to comment.