Skip to content

Commit 3ea1f01

Browse files
authored
Merge pull request #18 from gtfierro/use-r5tu
Use r5tu
2 parents 714690c + 7b10a4f commit 3ea1f01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+11017
-2058
lines changed

.github/workflows/artifacts.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,22 +282,33 @@ jobs:
282282
runs-on: ubuntu-latest
283283
environment: publish
284284
steps:
285-
- uses: actions/checkout@v3
285+
- name: Checkout sources
286+
uses: actions/checkout@v3
286287
with:
287288
submodules: true
288-
- run: rustup update
289-
- uses: katyo/publish-crates@v2
289+
- name: Publish ontoenv crate
290+
uses: katyo/publish-crates@v2
290291
with:
291292
path: './lib'
292293
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
293294
env:
294295
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
295-
- uses: katyo/publish-crates@v2
296+
- name: Publish ontoenv-cli crate
297+
uses: katyo/publish-crates@v2
296298
with:
297299
path: './cli'
298300
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
299301
env:
300302
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
303+
- name: Wait for crate index propagation
304+
run: sleep 45
305+
- name: Publish pyontoenv crate
306+
uses: katyo/publish-crates@v2
307+
with:
308+
path: './python'
309+
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
310+
env:
311+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
301312
full_archive:
302313
if: github.event_name == 'release'
303314
runs-on: ubuntu-latest

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
run: uv run maturin build --release --features abi3
4343
working-directory: ./python
4444
- name: Test python package
45-
run: uv run python -m unittest test.py
45+
run: uv run python -m unittest discover -s tests
4646
working-directory: ./python
4747

0 commit comments

Comments
 (0)