Skip to content

Commit

Permalink
Update github workflow files.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4handjr committed Feb 18, 2025
1 parent a359068 commit 8551347
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/linux_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: actions/checkout@v4
- name: Setup firefox
id: setup-firefox
uses: ./.github/actions/setup_firefox/
uses: browser-actions/setup-firefox@v1
with:
firefox-version: ${{ matrix.firefox }}
- run: |
Expand All @@ -50,11 +50,12 @@ jobs:
- name: Setup tests
shell: bash
run: ./setup_script.sh
- name: Create SSL Certificate Files
run: |
openssl req -x509 -newkey rsa:2048 -keyout search_files/server.key -out search_files/server.cert -days 365 -nodes -subj "/CN=localhost"
- name: Run Tests
run: tox -e bdd-tests -- --experiment-branch ${{ matrix.branch }} --experiment-slug ${{ inputs.slug }} --private-browsing-enabled --firefox-path="/opt/hostedtoolcache/firefox/${{ matrix.firefox }}/x64/firefox" ${{ inputs.extra-arguments }}
env:
SSL_CERT: ${{ secrets.SSL_CERT }}
SSL_KEY: ${{ secrets.SSL_KEY }}
run: |
tox -e bdd-tests -- --experiment-branch ${{ matrix.branch }} --experiment-slug ${{ inputs.slug }} --private-browsing-enabled --firefox-path="/opt/hostedtoolcache/firefox/${{ matrix.firefox }}/x64/firefox" ${{ inputs.extra-arguments }}
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/windows_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
uses: actions/checkout@v4
- name: Setup firefox
id: setup-firefox
uses: ./.github/actions/setup_firefox/
uses: browser-actions/setup-firefox@v1
with:
firefox-version: ${{ matrix.firefox }}
- run: |
echo Installed firefox versions: ${{ steps.setup-firefox.outputs.firefox-version }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'
- name: Install Dependencies
shell: pwsh
run: choco install jdk8 selenium
Expand All @@ -68,11 +68,12 @@ jobs:
- name: Setup tests
shell: bash
run: ./setup_script.sh
- name: Create SSL Certificate Files (Windows)
shell: bash
run: |
openssl req -x509 -newkey rsa:2048 -keyout search_files/server.key -out search_files/server.cert -days 365 -nodes -subj "//CN=localhost"
- name: Run Tests
run: tox -e bdd-tests -- --experiment-branch ${{ matrix.branch }} --experiment-slug ${{ inputs.slug }} --private-browsing-enabled --firefox-path="C:\Program Files\Firefox_${{ matrix.firefox }}\firefox.exe" ${{ inputs.extra-arguments }}
env:
SSL_CERT: ${{ secrets.SSL_CERT }}
SSL_KEY: ${{ secrets.SSL_KEY }}
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
Expand Down
1 change: 0 additions & 1 deletion search_server/search_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from http.server import HTTPServer, SimpleHTTPRequestHandler
import os
import ssl


Expand Down

0 comments on commit 8551347

Please sign in to comment.