Skip to content

try to run tests and linting in CI #1

try to run tests and linting in CI

try to run tests and linting in CI #1

Workflow file for this run

name: Tests
on: [push]
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Check failure on line 14 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 14
# Set up the IPython Kernel fixture
- uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install IPython Kernel
run: |
python -m pip install ipykernel
python -m ipykernel install --user --name=python3.10
- name: Run ipykernel
run: python -m ipykernel_launcher --debug -f /tmp/kernel.json & echo "KERNEL_PID=$!" >> $GITHUB_ENV
- name: Set up Rust 1.74.0
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain-version: '1.74.0'
profile: minimal
- name: Run tests
run: cargo test
- name: Stop ipykernel
run: kill $KERNEL_PID