Skip to content

change to pdm

change to pdm #15

Workflow file for this run

# 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.10']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pdm sync -d -G test
pdm run python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
#- name: Install package
# run: |
# pdm install
# pdm list
#- name: Run Tests
# run: |
# pdm run -v pytest tests