Skip to content

Integrate the multihit model into the DNSM framework #172

Integrate the multihit model into the DNSM framework

Integrate the multihit model into the DNSM framework #172

name: build and test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: main
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.6-0' # any version from https://github.com/mamba-org/micromamba-releases
environment-name: netam
create-args: >-
python=${{ matrix.python-version }}
black
flake8
docformatter
init-shell: bash
cache-environment: false
post-cleanup: 'none'
- name: Check format
shell: bash -l {0}
run: |
cd main
make checkformat
- name: Install
shell: bash -l {0}
run: |
cd main
make install
- name: Test
shell: bash -l {0}
run: |
cd main
make test