lib: specify correct package name

master
Sameer Puri 4 years ago
parent 64ef81718a
commit 24545824d7

@ -1,4 +1,4 @@
name: Build, test, and publish coverage for svg2gcode-lib name: Build, test, and publish coverage for svg2gcode
on: [push, pull_request] on: [push, pull_request]
@ -11,7 +11,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build - name: Build
run: cargo build -p svg2gcode-lib run: cargo build -p svg2gcode
coverage: coverage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -31,14 +31,14 @@ jobs:
use-tool-cache: true use-tool-cache: true
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: build -p svg2gcode-lib command: build -p svg2gcode
env: env:
RUSTFLAGS: '-Zinstrument-coverage' RUSTFLAGS: '-Zinstrument-coverage'
RUSTDOCFLAGS: '-Zinstrument-coverage' RUSTDOCFLAGS: '-Zinstrument-coverage'
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: test command: test
args: --all-features --no-fail-fast -p svg2gcode-lib args: --all-features --no-fail-fast -p svg2gcode
env: env:
RUSTFLAGS: '-Zinstrument-coverage' RUSTFLAGS: '-Zinstrument-coverage'
RUSTDOCFLAGS: '-Zinstrument-coverage' RUSTDOCFLAGS: '-Zinstrument-coverage'

Loading…
Cancel
Save