Create test-waylonwalker-com.yml
This commit is contained in:
parent
950ceeb883
commit
5556440112
1 changed files with 34 additions and 0 deletions
34
.github/workflows/test-waylonwalker-com.yml
vendored
Normal file
34
.github/workflows/test-waylonwalker-com.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: Test WaylonWalker.com
|
||||
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: nanasess/setup-chromedriver@master
|
||||
with:
|
||||
# Optional: do not specify to match Chrome's version
|
||||
chromedriver-version: '77.0.3865.40'
|
||||
- run: |
|
||||
export DISPLAY=:99
|
||||
chromedriver --url-base=/wd/hub &
|
||||
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
||||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
||||
- run: pip install testproject-python-sdk
|
||||
Loading…
Add table
Add a link
Reference in a new issue