correc tf required version #63
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
# Workflow to build the parallelproj C/CUDA libs (incl. installation of CUDA) | |
name: python build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
Testing: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ['3.9','3.10'] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # default 1 is, which doesnt allow to get all tags which we need for version from scm | |
fetch-tags: true | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Show package version | |
run: | | |
git describe --tags | |
pdm show --version | |
- name: Install dependencies and package | |
run: | | |
pdm update -d -G test | |
pdm list | |
- name: Test CLI | |
run: | | |
pdm run pyapetnet_list_models | |
pdm run pyapetnet_predict_from_nifti -h | |
pdm run pyapetnet_predict_from_dicom -h | |
- name: Run Tests | |
run: | | |
pdm run tox |