You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
727 B
34 lines
727 B
name: svg2gcode
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Build
|
|
run: cargo build
|
|
- name: Run cargo-tarpaulin
|
|
uses: actions-rs/tarpaulin@v0.1
|
|
with:
|
|
version: '0.14.2'
|
|
args: '-- --nocapture --test-threads 1'
|
|
- name: Upload to codecov.io
|
|
uses: codecov/codecov-action@v1
|
|
with:
|
|
token: ${{secrets.CODECOV_TOKEN}}
|
|
|
|
- name: Archive code coverage results
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: code-coverage-report
|
|
path: cobertura.xml
|