deps: bumps django from 4.2.28 to 6.1 #497
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: Links check | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| architecture: 'x64' | |
| cache: 'pip' | |
| # This is from https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch | |
| - name: Configure sysctl limits | |
| run: | | |
| sudo swapoff -a | |
| sudo sysctl -w vm.swappiness=1 | |
| sudo sysctl -w fs.file-max=262144 | |
| sudo sysctl -w vm.max_map_count=262144 | |
| - run: "curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.2.0-amd64.deb" | |
| - run: "sudo dpkg -i --force-confnew elasticsearch-7.2.0-amd64.deb" | |
| - run: echo -e '-XX:+DisableExplicitGC\n-Djdk.io.permissionsUseCanonicalPath=true\n-Dlog4j.skipJansi=true\n-server\n' | sudo tee -a /etc/elasticsearch/jvm.options | |
| - run: sudo chown -R elasticsearch:elasticsearch /etc/default/elasticsearch | |
| - run: "sudo service elasticsearch start" | |
| - run: pip install -r requirements_dev.txt | |
| - run: ./manage.py test -v 2 tests.tests_links |