Skip to content

Decouple CLI and config file #669

Decouple CLI and config file

Decouple CLI and config file #669

Workflow file for this run

name: Tests
on:
push:
paths:
- '**.rs'
pull_request:
paths:
- '**.rs'
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --all-targets --all-features --verbose
- name: Check docs
run: cargo dev generate-all --mode=check
cargo-install:
name: Test cargo installation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check cargo install
run: |
cargo install --path fortitude
fortitude --help
pip-install:
name: Test pip installation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Check pip install
run: |
pip install .
fortitude --help