Unify password validation, fix auto-complete issues and made fields 'required' for main Branch #5126
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: test-core | |
on: [push, pull_request] | |
jobs: | |
lint-python: | |
name: lint-python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install ruff | |
run: | | |
pip install .[dev] | |
- name: Lint Python | |
run: | | |
ruff . | |
test-minimal-deps: | |
name: test-minimal-deps | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.8", "3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install packages | |
run: | | |
pip install pytest | |
pip install --no-cache-dir . | |
- name: Run test suite | |
run: | | |
pytest tests/ | |
test-full-deps: | |
name: test-full-deps | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install packages | |
run: | | |
pip install pytest | |
pip install --upgrade setuptools>=41.0.0 | |
pip install --no-cache-dir .[test] | |
pip install --no-cache-dir . | |
- name: Run test suite | |
run: | | |
pytest tests/ |