Skip to content

trigger workflow

trigger workflow #35

Workflow file for this run

name: Run Unit Tests
on:
push:
# paths:
# - obi_applet
# - '.github/test.yml' # Trigger on changes to the workflow file
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- name: Check out source code
uses: actions/checkout@v3
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
- name: Generate lockfile
working-directory: ./obi_applet
run: pdm lock --group :all ${{ matrix.dep-versions == 'minimal' && '--strategy direct_minimal_versions' || '' }}
- name: Install dependencies
working-directory: ./obi_applet
run: pdm sync
- name: Run tests
working-directory: ./obi_applet
run: |
pdm run test