Merge pull request #954 from openedx/repo-tools/upgrade-python-requir… #2480
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: Run all tests & checks | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install development dependencies | |
run: make dev-requirements | |
- name: Static code analysis | |
run: make test-lint | |
- name: Code formatting | |
run: make test-format | |
- name: Package tests | |
run: make test-pythonpackage | |
# Enable step when test-install.sh is implemented | |
# - name: Plugin installation & rendering checks | |
# run: make test-install |