Skip to content

Commit

Permalink
Merge branch 'api_revamp'
Browse files Browse the repository at this point in the history
  • Loading branch information
xgillard committed Nov 17, 2022
2 parents d1dbcdf + 656fa66 commit 117809c
Show file tree
Hide file tree
Showing 2,021 changed files with 68,920 additions and 25,040 deletions.
2 changes: 2 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
xtask = "run --package xtask --"
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ jobs:
- name: Build the library
uses: actions-rs/cargo@v1
with:
command: build
command: build
args: -p ddo
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --tests --all-targets
args: -p ddo --all-features --tests --all-targets
20 changes: 13 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --release --all-targets
args: -p ddo --release --all-targets

coverage:
runs-on: ubuntu-latest
Expand All @@ -23,11 +23,17 @@ jobs:
with:
toolchain: stable
override: true
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
target: x86_64-unknown-linux-musl
components: llvm-tools-preview
- name: Download grcov
run: |
mkdir -p "${HOME}/.local/bin"
curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.10/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Run xtask coverage
uses: actions-rs/cargo@v1
with:
version: 0.16.0
command: xtask
args: coverage
- name: Upload to codecov.io
uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
uses: codecov/codecov-action@v3
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/target
/examples/target
launch.json
/py_ddo/.env
Loading

0 comments on commit 117809c

Please sign in to comment.