Skip to content

Introduce Integration Tests #22

Introduce Integration Tests

Introduce Integration Tests #22

Workflow file for this run

name: PR Check
on:
pull_request:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check ENState ⚒️
runs-on: ubuntu-latest
strategy:
matrix:
path: [server, worker]
include:
- path: server
target: x86_64-unknown-linux-gnu
- path: worker
target: wasm32-unknown-unknown
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
rustup target add ${{ matrix.target }}
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
with:
version: "v0.7.4"
- run: cargo check --target ${{ matrix.target }} --release
working-directory: ${{ matrix.path }}
test_server:
uses: ./.github/workflows/test_server.yml
needs: [check]