From 68a5af97b87dd0b7e4b790c6c32f51b86e117316 Mon Sep 17 00:00:00 2001 From: zinwang Date: Wed, 24 Sep 2025 16:56:45 +0800 Subject: [PATCH 1/2] fix --- .github/workflows/pytest.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 54d88f3a..67e06869 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -6,7 +6,7 @@ name: build on: push: branches: [ master ] - pull_request: + pull_request_target: branches: [ master ] jobs: @@ -31,24 +31,6 @@ jobs: # Install graphviz & ninja sudo apt-get -y install graphviz ninja-build - # Install Rizin (0.7.3) - sudo git clone https://github.com/rizinorg/rizin /opt/rizin/ - cd /opt/rizin/ - sudo git checkout v0.7.3 - meson build - ninja -C build - sudo ninja -C build install - sudo ldconfig -v - cd - - - # Install Radare2 (5.9.0) - sudo apt install -y musl-tools - wget https://github.com/radareorg/radare2/archive/refs/tags/5.9.0.zip -O radare2-5.9.0.zip - unzip radare2-5.9.0.zip -d /opt - cd /opt/radare2-5.9.0 - sudo sys/install.sh --without-pull - cd - - # Install langchain and it's OpenAI integration python -m pip install langchain==0.2.11 langchain-core==0.2.23 langchain-openai==0.1.17 --upgrade @@ -74,10 +56,9 @@ jobs: pytest --cov=./ --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4.4.0 + uses: codecov/codecov-action@v5 with: fail_ci_if_error: true flags: unittests token: ${{ secrets.CODECOV_TOKEN }} - version: v0.6.0 From e13068b437806bec5b15eae85e1f751b34fbf048 Mon Sep 17 00:00:00 2001 From: zinwang Date: Wed, 24 Sep 2025 17:01:12 +0800 Subject: [PATCH 2/2] fix --- .github/workflows/pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 67e06869..1bd186e4 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -5,9 +5,9 @@ name: build on: push: - branches: [ master ] + branches: [ master , test_codecov_in_ci] pull_request_target: - branches: [ master ] + branches: [ master , test_codecov_in_ci] jobs: build: