From 8b08f363b67ee3aabd028d4e46d71c2414f38f44 Mon Sep 17 00:00:00 2001 From: Qi Zhang <25192197+singularitti@users.noreply.github.com> Date: Mon, 25 Dec 2023 19:29:46 -0500 Subject: [PATCH] Create pdm.yml --- .github/workflows/pdm.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pdm.yml diff --git a/.github/workflows/pdm.yml b/.github/workflows/pdm.yml new file mode 100644 index 0000000..aafffb9 --- /dev/null +++ b/.github/workflows/pdm.yml @@ -0,0 +1,20 @@ +Testing: + runs-on: ${{ matrix.os }} + strategy: + matrix: + python-version: [3.7, 3.8, 3.9, '3.10', '3.11'] + os: [ubuntu-latest, macOS-latest, windows-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 testing + - name: Run Tests + run: | + pdm run -v pytest tests