Skip to content

Merge pull request #122 from COMBINE-lab/release-please--branches--ma… #124

Merge pull request #122 from COMBINE-lab/release-please--branches--ma…

Merge pull request #122 from COMBINE-lab/release-please--branches--ma… #124

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-latest]
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/[email protected]
with:
python-version: "3.10"
mamba-version: "*"
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 }}."