diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..8dd635e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + python-version: ['3.9', '3.10', '3.11', '3.12'] + os: [ubuntu-latest, macOS-latest, windows-latest] + + steps: + - uses: actions/checkout@v3 + - name: Set up PDM + uses: pdm-project/setup-pdm@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + pdm sync -d + - name: Run Tests + run: | + pdm run -v pytest