Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
version: 2.1 # use CircleCI 2.1
jobs: # a collection of steps
build: # runs not using Workflows must have a `build` job as entry point
working_directory: ~/app # directory where steps will run
docker: # run the steps with Docker
- image: circleci/node:10.16.3 # ...with this image as the primary container; this is where all `steps` will run
# - image: mongo:4.2.0 # and this image as the secondary service container
steps: # a collection of executable commands
- checkout # special step to check out source code to working directory
- run:
name: update-npm
command: 'sudo npm install -g npm@latest'
- restore_cache: # special step to restore the dependency cache
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: install-npm-wee
command: npm install
- save_cache: # special step to save the dependency cache
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
- run: # run app
name: test
command: npm start &
- run:
name: install ubuntu build reqs
command: |
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev curl
- run: # install python 3.7
name: install python 3.7
command: |
sudo apt-get update
curl -O https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tar.xz
tar -xf Python-3.7.5.tar.xz
cd Python-3.7.5
./configure --enable-optimizations
make -j 8
sudo make altinstall
python3.7 --version
- run:
name: # install test dependencies
command: |
cd tests
pip install -r requirements.txt
- run:
name: # run tests
command: |
./scripts/BrowserStackLocal_linux --daemon start --key ${BROWSERSTACK_KEY} --local-identifier local_02
python -m pytest -v --variables capabilities_chrome.json --baseUrl http://127.0.0.1:9001
2 changes: 1 addition & 1 deletion pytest_selenium_enhancer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""pytest-selenium-enhancer package."""
__version__ = "1.4.1"
__version__ = "1.4.2"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.4.1
current_version = 1.4.2

[bdist_wheel]
universal = 1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="pytest-selenium-enhancer",
version='1.4.1',
version='1.4.2',
use_scm_version=False,
description="pytest plugin for Selenium",
long_description=open("README.rst").read(),
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
browserstack-local==1.2.2
imutils==0.5.3
pytest-selenium-enhancer==1.4.0
pytest-selenium-enhancer==1.4.2
python-dotenv==0.12.0
scikit-image==0.16.2