Skip to content

Commit

Permalink
sem ver and GHA for build
Browse files Browse the repository at this point in the history
  • Loading branch information
tarilabs committed Jul 20, 2024
1 parent 230ce28 commit 2a30aeb
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'poetry'
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: |
poetry run pytest
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ Note: server-side analogous, reference in blueprints.

```py
crawl_result = omlmd.crawl([
"localhost:8080/matteo/ml-artifact:v1", "localhost:8080/matteo/ml-artifact:v2", "localhost:8080/matteo/ml-artifact:v3"
"localhost:8080/matteo/ml-artifact:v1",
"localhost:8080/matteo/ml-artifact:v2",
"localhost:8080/matteo/ml-artifact:v3"
])
```

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "omlmd"
version = "0.1.0a1"
version = "0.1.0"
description = ""
authors = ["Matteo Mortari <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 2a30aeb

Please sign in to comment.