mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-25 17:32:16 +00:00
Remove not working variables
This commit is contained in:
6
.github/workflows/django.yml
vendored
6
.github/workflows/django.yml
vendored
@@ -23,12 +23,6 @@ jobs:
|
|||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Force Locale
|
|
||||||
run: |
|
|
||||||
export TZ=Europe/London
|
|
||||||
export LANG=en_GB.UTF-8
|
|
||||||
export LC_ALL=en_GB.UTF-8
|
|
||||||
export LANGUAGE=en_GB.UTF-8
|
|
||||||
- name: Setup Chromedriver
|
- name: Setup Chromedriver
|
||||||
run: |
|
run: |
|
||||||
wget https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip
|
wget https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ def create_browser():
|
|||||||
# No caching, please and thank you
|
# No caching, please and thank you
|
||||||
options.add_argument("--aggressive-cache-discard")
|
options.add_argument("--aggressive-cache-discard")
|
||||||
options.add_argument("--disk-cache-size=0")
|
options.add_argument("--disk-cache-size=0")
|
||||||
# God Save The Queen
|
|
||||||
options.add_argument("--lang=en_GB")
|
|
||||||
options.add_argument("--headless")
|
options.add_argument("--headless")
|
||||||
if settings.CI:
|
if settings.CI:
|
||||||
options.add_argument("--no-sandbox")
|
options.add_argument("--no-sandbox")
|
||||||
|
|||||||
Reference in New Issue
Block a user