Skip to content

Commit

Permalink
First prototype of publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
OdysseasKr committed Nov 13, 2024
1 parent ab85d78 commit 9d05a64
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "tagged-release"

on: [push]

jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
run: uv python install
- name: Build & publish
uv publish --publish-url https://test.pypi.org/legacy/ dist/*
-
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Grammar and format checker for ABB Rapid code.

## Getting started

To install simply clone the repo and run `pip install .` .
Install with `pip install rapidchecker`

Then check a module (or a folder of modules) by running
Then check a RAPID module (or a directory containing modules) by running

```bash
python -m rapidchecker <path-to-file>
python -m rapidchecker <path-to-file-or-dir>
```

If any grammar or format errors are found, they are printed to stdout and the command exits with exitcode 1.
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ dependencies = [
"rich>=13.9.2",
]

[project.urls]
Homepage = "https://github.com/OdysseasKr/rapidchecker"
Issues = "https://github.com/OdysseasKr/rapidchecker/issues"

[tool.uv]
dev-dependencies = [
"ipython>=8.28.0",
Expand Down

0 comments on commit 9d05a64

Please sign in to comment.