Skip to content

Commit

Permalink
feat(build): #1 add support for git repositories
Browse files Browse the repository at this point in the history
- Change version to `0.2.0`
- Add support to analyze git repositories from
GitHub and GitLab.
- Calculate the cognitive complexity of the files
in the repository.
- Update CI to install openssl in the different
operating systems.
  • Loading branch information
rohaquinlop committed Feb 25, 2024
1 parent 74ec5ce commit 233154c
Show file tree
Hide file tree
Showing 6 changed files with 317 additions and 18 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
steps:
- name: install openssl
run: sudo apt-get install pkg-config libssl-dev
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -76,6 +78,8 @@ jobs:
matrix:
target: [x86_64, aarch64]
steps:
- name: install openssl
run: brew install openssl@3
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
Expand All @@ -95,6 +99,8 @@ jobs:
sdist:
runs-on: ubuntu-latest
steps:
- name: install openssl
run: sudo apt-get install pkg-config libssl-dev
- uses: actions/checkout@v3
- name: Build sdist
uses: PyO3/maturin-action@v1
Expand Down
219 changes: 217 additions & 2 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
@@ -1,6 +1,6 @@
[package]
name = "complexipy"
version = "1.0.0"
version = "0.2.0"
edition = "2021"
authors = ["Robin Quintero <rohaquinlop301@gmail.com>"]
license = "MIT"
Expand All @@ -17,8 +17,10 @@ crate-type = ["cdylib"]

[dependencies]
env_logger = "0.11.1"
git2 = "0.18.2"
ignore = "0.4.22"
log = "0.4.20"
pyo3 = "0.19.0"
rayon = "1.8.1"
rustpython-parser = { git = "https://github.com/RustPython/Parser.git", rev = "9ce55aefdeb35e2f706ce0b02d5a2dfe6295fc57" }
tempfile = "3.10.0"
Loading

0 comments on commit 233154c

Please sign in to comment.