Merge pull request #46 from NIFTy-PPL/ffi_new #84
This file contains hidden or 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 python application | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| types: [opened, reopened] | |
| permissions: | |
| contents: read | |
| jobs: | |
| pytest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup_package | |
| - name: Test with pytest | |
| run: | | |
| pytest test | |
| demos_01_linear_function: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup_package | |
| - name: Run linear function demo | |
| run: python demos/01_linear_function.py | |
| demos_02_multilinear_function: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup_package | |
| - name: Run linear function demo | |
| run: python demos/02_multilinear_function.py | |
| demos_03_nonlinear_function: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup_package | |
| - name: Run linear function demo | |
| run: python demos/03_nonlinear_function.py |