Bump npm from 6.14.4 to 6.14.6 in the npm_and_yarn group #413
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: selenium_tests | |
on: | |
push: | |
branches: | |
- main | |
- E2E_TESTS | |
jobs: | |
e2e-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install chromium-chromedriver | |
export PATH=$PATH:/usr/lib/chromium-browser/ | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r tests/requirements.txt | |
npm i | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check files | |
run: | | |
npm run lint:yaml | |
- name: Build the components | |
run: | | |
npm run build | |
- name: Test with pytest | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
run: | | |
pytest --headless tests |