[nlpo3-python]: Add pyo3 signature to functions #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test nlpo3-cli (command line) | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'nlpo3-cli/**' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'nlpo3-cli/**' | |
defaults: | |
run: | |
working-directory: nlpo3-cli | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
bitness: [64] # 32, 64 | |
include: | |
- os: windows-latest | |
bitness: 32 | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@master | |
- name: Setup Rust toolchain - non-win32 | |
uses: actions-rs/toolchain@v1 | |
with: | |
override: true | |
profile: minimal | |
toolchain: stable | |
if: ${{ !startsWith(matrix.os, 'windows') || matrix.bitness != '32' }} | |
- name: Setup Rust toolchain - win32 | |
uses: actions-rs/toolchain@v1 | |
with: | |
override: true | |
profile: minimal | |
toolchain: stable | |
target: i686-pc-windows-msvc | |
if: startsWith(matrix.os, 'windows') && matrix.bitness == '32' | |
- name: Setup Rust dependencies | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
- name: Test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test |