Skip to content

Commit

Permalink
Merge pull request #400 from NNPDF/rust-reader-v2
Browse files Browse the repository at this point in the history
EKO Rust reader v2
  • Loading branch information
felixhekhorn authored Aug 22, 2024
2 parents 97a96f6 + bf132ea commit 3bfc89d
Show file tree
Hide file tree
Showing 16 changed files with 1,265 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/unittests-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get test data
id: cache-test-data
uses: actions/cache@v4
with:
path: test-data
key: test-data-v1
- name: Download test data
if: steps.cache-test-data.outputs.cache-hit != 'true'
run: |
cd crates/dekoder/tests/data
./download.sh
- uses: actions/setup-python@v5
- name: Install task runner
run: pip install poethepoet
Expand Down
9 changes: 8 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
ci:
autofix_prs: false
skip: [fmt] # will be run by a separate CI
skip: [fmt, clippy] # will be run by a separate CI
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
Expand Down Expand Up @@ -59,6 +59,13 @@ repos:
language: system
files: ^crates/.*\.rs$
args: []
- id: clippy
name: clippy
description: Check Rust files with cargo clippy.
entry: cargo clippy --all-targets --all-features -- -Dclippy::all
pass_filenames: false
types: [file, rust]
language: system
- repo: https://github.com/pre-commit/pre-commit
rev: v3.8.0
hooks:
Expand Down
Loading

0 comments on commit 3bfc89d

Please sign in to comment.