diff --git a/.github/workflows/test-waylonwalker-com.yml b/.github/workflows/test-waylonwalker-com.yml new file mode 100644 index 0000000..d7f1ecc --- /dev/null +++ b/.github/workflows/test-waylonwalker-com.yml @@ -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