From 641a6228fc179139ddfba23204941e3cba72b13d Mon Sep 17 00:00:00 2001 From: dimaberezovskyi Date: Wed, 30 Aug 2023 14:39:56 +0300 Subject: [PATCH] build for intel and arm architecture --- .github/workflows/Run_tests.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/Run_tests.yaml b/.github/workflows/Run_tests.yaml index f7c8f94..4b23326 100644 --- a/.github/workflows/Run_tests.yaml +++ b/.github/workflows/Run_tests.yaml @@ -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 @@ -15,9 +15,10 @@ 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: | @@ -25,12 +26,6 @@ jobs: 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