version bump #1385
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: Python tests | |
on: [push] | |
env: | |
GITHUB_ACTIONS: 1 | |
jobs: | |
ubuntu_firefox: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [3.8.18] | |
fail-fast: false | |
env: | |
BROWSER_SELENIUM: 'FIREFOX;{"headless": true, "binary_location": "/usr/bin/firefox"}' | |
LANG: "C.UTF-8" | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Tox and any other packages | |
run: | | |
pip install versio | |
pip install tox | |
- name: Prepare Selenium enviroment | |
run: | | |
#Download geckodriver | |
wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz | |
#Extract geckodriver | |
tar -xvzf geckodriver* | |
#Make geckodriver execuable | |
chmod +x geckodriver | |
#Move geckodriver | |
sudo mv geckodriver /usr/local/bin/ | |
- name: Run Tox py-django31-drf3_11 | |
run: tox -e py-django31-drf3_11 | |
code_check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [3.8.18] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Tox and any other packages | |
run: pip install tox | |
- name: Run Tox | |
run: tox -e check |