Skip to content

Commit

Permalink
Merge branch 'main' into ci/add_cpp_check
Browse files Browse the repository at this point in the history
  • Loading branch information
kminoda authored Jun 5, 2024
2 parents a8a59f8 + 9ec94f0 commit 9890b2e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/dco.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: DCO
# ref: https://github.com/anchore/syft/pull/2926/files
on:
pull_request:
jobs:
dco:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Python 3.x
uses: actions/setup-python@v5
with:
python-version: 3.x

- name: Check DCO
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip3 install -U dco-check
dco-check --verbose --exclude-pattern 'pre-commit-ci\[bot\]@users\.noreply\.github\.com'
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ TEST(predicted_path_utils, resamplePredictedPath_by_vector)

const auto resampled_path = resamplePredictedPath(path, resampling_vec);

EXPECT_EQ(resampled_path.path.size(), resampled_path.path.max_size());
EXPECT_NEAR(path.confidence, resampled_path.confidence, epsilon);

for (size_t i = 0; i < resampled_path.path.size(); ++i) {
Expand Down

0 comments on commit 9890b2e

Please sign in to comment.