Skip to content

merge dev into main #163

merge dev into main

merge dev into main #163

Workflow file for this run

name: simpleaf-check
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
env:
CARGO_TERM_COLOR: always
jobs:
check_formatting:
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
matrix:
os: [ubuntu-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- name: Check format
run: cargo fmt -- --check
- name: Build
run: cargo build --verbose --release
- name: Install conda env
uses: conda-incubator/setup-miniconda@v3
with:
channels: conda-forge,default,bioconda
channel-priority: true
activate-environment: anaconda-client-env
environment-file: simpleaf_conda_env.yml
- name: Test simpleaf
shell: bash -l {0}
run: |
cd scripts
chmod +x test_simpleaf.sh
./test_simpleaf.sh
- name: Check job status
run: echo "This job's status is ${{ job.status }}."