Skip to content

Workflows

Workflows #14

Workflow file for this run

name: Tests
on:
#workflow_call:
pull_request:
env:
RUST_BACKTRACE: 1
ANTICIPATE_ECHO: true
jobs:
check:
name: Check for ${{ matrix.binary_target }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
include:
#- os: ubuntu-latest
#binary_target: x86_64-unknown-linux-gnu
- os: windows-latest
binary_target: x86_64-pc-windows-msvc
#- os: macos-latest
#binary_target: x86_64-apple-darwin
steps:
- uses: actions/checkout@v4
- name: ⚡ Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Python check
shell: bash
run: |
python ./core/tests/actions/echo/main.py Hello World
- name: Run tests
run: |
cargo test --all