feat: add paragon hosting configuration for dev and local environments (FC-87) #24
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
| # Workflow dedicated to testing the tutor-contrib-paragon plugin only | |
| name: Test - tutor-contrib-paragon | |
| on: | |
| pull_request: | |
| paths: | |
| # Trigger this workflow only if files change inside this plugin folder | |
| - 'plugins/tutor-contrib-paragon/**' | |
| jobs: | |
| test-paragon: | |
| name: Run tests for tutor-contrib-paragon | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| # All steps will run from this directory | |
| working-directory: plugins/tutor-contrib-paragon | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| make dev-requirements | |
| - name: Run tests | |
| run: make run-tests |