Skip to content

Commit

Permalink
build for intel and arm architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaberezovskyi committed Aug 30, 2023
1 parent d0b638e commit 641a622
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/Run_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Running tests
name: Selenium Tests on macOS M1

on: push

jobs:
test:
runs-on: macos-10.15
runs-on: macos-latest

steps:
- name: Checkout repository
Expand All @@ -15,22 +15,17 @@ jobs:
with:
python-version: "3.10"

- name: Install Chrome
- name: Install Chrome and WebDriver
run: |
brew install --cask google-chrome
brew install --cask chromedriver
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install --upgrade pytest pytest-html
- name: Set execute permissions for arm-64
run: |
if [[ $(uname -m) == "arm64" ]]; then
chmod +x resources/arm64
fi
- name: Run tests
run: |
python -m pytest

0 comments on commit 641a622

Please sign in to comment.