diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 35a2351..749c0b5 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -2,40 +2,39 @@ name: Django CI on: push: - branches: [ "main", "develop" ] + branches: ["main", "develop"] pull_request: - branches: [ "main", "develop"] + branches: ["main", "develop"] jobs: build: - runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.12.2, 3.11.9, 3.10.14] steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - name: Install Dependencies - run: | - cd hiring_module - python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Copy .env file - run: | - cd hiring_module - cp .example.env .env - - name: Run Tests - run: | - export DISPLAY=:99 - chromedriver --url-base=/wd/hub & - sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional - cd hiring_module - python manage.py makemigrations hiring_app - python manage.py migrate - python manage.py test + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install Dependencies + run: | + cd hiring_module + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Copy .env file + run: | + cd hiring_module + cp .example.env .env + - name: Run Tests + run: | + export DISPLAY=:99 + chromedriver --url-base=/wd/hub & + sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional + cd hiring_module + python manage.py makemigrations hiring_app + python manage.py migrate + python manage.py test diff --git a/hiring_module/hiring_app/templates/admin_user/administrator_user_list.html b/hiring_module/hiring_app/templates/admin_user/administrator_user_list.html index 48daacf..d43f727 100644 --- a/hiring_module/hiring_app/templates/admin_user/administrator_user_list.html +++ b/hiring_module/hiring_app/templates/admin_user/administrator_user_list.html @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% load static %} {% block title %} -Panel de control +Lista de usuarios {% endblock %} @@ -60,7 +60,7 @@