Skip to content

Update tests::controller() #153

Update tests::controller()

Update tests::controller() #153

Workflow file for this run

name: cargo-test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose -- --test-threads=1
doc:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' || github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v4
- name: Run doc
run: cargo doc --no-deps
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc/