disable browser prompt to save address for autofill #122
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: Linux | |
on: | |
# push: | |
# paths: | |
# - '**.py' | |
# - '**.yml' | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
run-tests: | |
name: Python ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
strategy: | |
max-parallel: 9 | |
fail-fast: false | |
matrix: | |
python-version: ["3.8","3.9","3.10","3.11"] | |
steps: | |
- name: install chrome | |
uses: browser-actions/setup-chrome@v1 | |
with: | |
chrome-version: stable | |
- name: install firefox | |
uses: browser-actions/setup-firefox@v1 | |
with: | |
firefox-version: latest | |
- name: setup edge | |
# uses: browser-actions/[email protected] | |
# with: | |
# edge-version: stable | |
# temp work around - https://github.com/browser-actions/setup-edge/issues/516 | |
run: curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft-archive-keyring.gpg && sudo mv microsoft-archive-keyring.gpg /usr/share/keyrings/ && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/edge stable main" | sudo tee /etc/apt/sources.list.d/microsoft-edge-stable.list && sudo apt update && sudo apt install -y microsoft-edge-stable | |
- name: remove native drivers | |
run: | | |
sudo rm /usr/bin/chromedriver | |
sudo rm /usr/bin/geckodriver | |
sudo rm /usr/bin/msedgedriver | |
################################################################################ | |
# SETUP TEST | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install dev dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox tox-gh-actions | |
- name: Test with tox | |
run: tox |