feat: Add a new plugin for enabling the openedx-ltistore library. #5
Workflow file for this run
This file contains hidden or 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: Run ltistore tutor plugin tests | |
| on: | |
| pull_request: | |
| paths: | |
| # Trigger this workflow only if files change inside this plugin folder | |
| - 'plugins/tutor-contrib-ltistore/**' | |
| jobs: | |
| test-ltistore: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.12'] | |
| defaults: | |
| run: | |
| # All steps will run from this directory | |
| working-directory: plugins/tutor-contrib-ltistore | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Upgrade pip | |
| run: python -m pip install --upgrade pip | |
| - name: Install dependencies | |
| run: | | |
| pip install .[dev] | |
| - name: Test lint, types, and format | |
| run: make test |