Skip to content

Update test.yml

Update test.yml #10

Workflow file for this run

name: Test Automation
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust toolchain nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt, clippy
- name: Set up cargo
uses: actions-rs/cargo@v1
with:
toolchain: nightly
- name: Set up python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Set up and Test
run: |
python -m pip install --upgrade pip
pip install pytest maturin
make install
pip install -r requirements.txt
make test