Skip to content

feat: implement nqm2ms2 #75

feat: implement nqm2ms2

feat: implement nqm2ms2 #75

Workflow file for this run

name: Python CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [created]
workflow_dispatch:
workflow_call:
inputs:
python-version:
type: string
default: 3.12
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Black
uses: microsoft/action-python@0.7.0
with:
black: true
python-version: ${{ inputs.python-version }}
- name: Bandit
uses: microsoft/action-python@0.7.0
with:
bandit: true
python-version: ${{ inputs.python-version }}
- name: Pylint
uses: microsoft/action-python@0.7.0
with:
pylint: true
python-version: ${{ inputs.python-version }}
# - name: Pyright
# uses: microsoft/action-python@0.7.0
# with:
# pyright: true
- name: Flake8
uses: microsoft/action-python@0.7.0
with:
flake8: true
python-version: ${{ inputs.python-version }}
testing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CASA data directory
run: mkdir -p ~/.casa/data
- name: Pytest
uses: microsoft/action-python@0.7.0
with:
pytest: true
python-version: ${{ inputs.python-version }}
# validation:
# needs: init_casadata
# uses: microsoft/action-python/.github/workflows/validation.yml@0.7.3
# with:
# workdir: '.'
# publish:
# uses: microsoft/action-python/.github/workflows/publish.yml@0.6.4
# secrets:
# PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}