Add products generating and context preparing #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
unit-tests: | |
needs: [ build ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit tests | |
run: make test | |
integration-tests: | |
needs: [ build ] | |
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 |