finding paths #99
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/setup-edge@v1 | |
with: | |
edge-version: 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@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
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 |