Skip to content

Coverage improvements #88

Coverage improvements

Coverage improvements #88

Workflow file for this run

name: Test
on:
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: make build-in-docker
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: sweat-jar
path: res/sweat_jar.wasm
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Lint
run: make lint
unit-tests:
needs: [ build, lint ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Unit tests
run: make test
integration-tests:
needs: [ build, lint ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download binary
uses: actions/download-artifact@v3
with:
name: sweat-jar
path: res/
- name: Integration tests
run: make integration