2021-04-25 18:06:43 +08:00

28 lines
600 B
YAML

on: [push]
name: Test Action
jobs:
Testing:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
name: Test the action
steps:
- uses: actions/checkout@v2
- name: Setup PDM
uses: ./
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pdm install -d -v
env:
LD_PRELOAD: /lib/x86_64-linux-gnu/libgcc_s.so.1
- name: Verify python version
run: python test.py
env:
PYTHON_VERSION: ${{ matrix.python-version }}