Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
7687674
created basic layout for python project because codex couldn't. Fixed…
DennisLent Aug 18, 2025
a95fdc9
Add shared command parser, Python bindings, and CI workflows
DennisLent Aug 18, 2025
35b54da
Merge pull request #31 from DennisLent/codex/implement-python-wrapper…
DennisLent Aug 18, 2025
fb1c1f3
Remove obsolete basic test
DennisLent Aug 18, 2025
282b8a2
Merge pull request #32 from DennisLent/codex/expand-python-wrapper-fo…
DennisLent Aug 18, 2025
1aa0f65
fixed codex issues with pyo3. Push for pipeline tests
DennisLent Aug 18, 2025
ce6b589
updated to run pipelines at every push
DennisLent Aug 18, 2025
d7520a0
trying to unfuck codex changes
DennisLent Aug 18, 2025
94e016c
github actions update v2
DennisLent Aug 18, 2025
e4156ab
Rust CI pipeline fix. Revert to fixed toolchain for CI
DennisLent Aug 19, 2025
1a53d08
updated pytests and coverage pipelines
DennisLent Aug 19, 2025
94ffbfd
python api and coverage update
DennisLent Aug 19, 2025
d610544
removed py api from coverage, tested using python. Update python whee…
DennisLent Aug 19, 2025
9326521
typo fix. Now pipelines are running again
DennisLent Aug 19, 2025
bd5e822
python wheels again babyyyy
DennisLent Aug 19, 2025
9fd7b3a
python wheels v3
DennisLent Aug 19, 2025
24b410b
Expand core, CLI, and GUI tests for broader coverage
DennisLent Aug 19, 2025
ea0cd9f
Expand edge-case test coverage
DennisLent Aug 20, 2025
a6b89fe
Merge pull request #33 from DennisLent/codex/expand-tests-for-existin…
DennisLent Aug 20, 2025
1edeca2
fixed clippy error and updated pipelines to run on pr only
DennisLent Aug 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/ci.yml

This file was deleted.

13 changes: 6 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Coverage

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
on: pull_request

jobs:
coverage:
Expand All @@ -23,15 +19,18 @@ jobs:
cargo tarpaulin \
--all-features \
--workspace \
--exclude rusty_runways_py \
--timeout 120 \
--out Xml
--out Xml \
--output-dir coverage
ls -lah coverage

- name: Upload to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./cobertura.xml
files: coverage/cobertura.xml
flags: rust
fail_ci_if_error: true
verbose: true
23 changes: 23 additions & 0 deletions .github/workflows/python-dev-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Python Dev Tests

on: pull_request

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Build and run tests
run: |
python -m venv .venv
source .venv/bin/activate
pip install -U pip maturin pytest
maturin develop -m crates/py/Cargo.toml
pytest crates/py/tests
47 changes: 47 additions & 0 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Python Wheels

on: pull_request

jobs:
build-wheels:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
args: >
--release
-m crates/py/Cargo.toml
--sdist
manylinux: manylinux2014
- os: macos-13
args: >
--release
-m crates/py/Cargo.toml
--sdist
target: universal2-apple-darwin
- os: windows-latest
args: >
--release
-m crates/py/Cargo.toml
--sdist

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable

- name: Build wheels with maturin
uses: messense/maturin-action@v1
with:
maturin-version: "v1.9.3"
command: build
args: ${{ matrix.args }}
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux }}
sccache: true

- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-${{ runner.os }}
path: target/wheels/*
30 changes: 30 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Rust CI

on: pull_request

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.87.0
with:
components: clippy, rustfmt

- name: Toolchain info
run: |
rustc -Vv
cargo -V
rustup show active-toolchain

- name: Format
run: cargo fmt --all -- --check

- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings

- name: Test
run: cargo test --workspace
143 changes: 143 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ members = [
"crates/core",
"crates/cli",
"crates/gui",
"crates/commands",
"crates/py",
]
resolver = "3"
resolver = "2"
Loading
Loading