Add --debug
option
#186
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
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 2 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v3.3 | |
with: | |
python-version: "3.10" | |
architecture: x64 | |
version: 2.7.4 # The version of PDM | |
prerelease: false # Disallow prerelease versions of PDM | |
enable-pep582: true | |
allow-python-prereleases: false | |
cache: true | |
- name: Install dependencies | |
run: | | |
pdm sync | |
- name: Run unit tests | |
run: | | |
pdm run python -m unittest |