Skip to content

Commit 06808bf

Browse files
committed
Update GitHub Actions
1 parent b90b05d commit 06808bf

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: CI Build 4 (Ubuntu ARM64)
2+
on:
3+
schedule:
4+
- cron: "26 * * * *"
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches:
9+
workflow_dispatch:
10+
branches:
11+
12+
jobs:
13+
build:
14+
15+
env:
16+
PY_COLORS: "1"
17+
strategy:
18+
fail-fast: false
19+
max-parallel: 4
20+
matrix:
21+
os: [ubuntu-24.04-arm]
22+
python-version: ["3.13"]
23+
24+
runs-on: ${{ matrix.os }}
25+
26+
steps:
27+
- uses: actions/checkout@v4
28+
- name: Set up Python ${{ matrix.python-version }}
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
- name: Install dependencies
33+
run: |
34+
python -m pip install --upgrade pip wheel setuptools
35+
pip install -r requirements.txt
36+
- name: Install SeleniumBase
37+
run: |
38+
pip install .
39+
- name: Lint with flake8
40+
run: |
41+
pip install flake8
42+
# Stop the build if there are flake8 issues
43+
flake8 . --count --show-source --statistics --exclude=temp
44+
- name: Check the console scripts interface (methods)
45+
run: |
46+
seleniumbase methods
47+
sbase methods
48+
- name: Check the console scripts interface
49+
run: |
50+
seleniumbase
51+
sbase
52+
- name: Install chromium-browser
53+
run: |
54+
sudo apt-get install chromium-browser
55+
- name: Get CPU count
56+
run: |
57+
echo "import os; print(os.cpu_count())" > get_cpu_count.py
58+
python get_cpu_count.py
59+
- name: Get platform info
60+
run: |
61+
python examples/platform_check.py
62+
- name: Run python raw_mfa_login.py
63+
run: |
64+
python examples/raw_mfa_login.py

0 commit comments

Comments
 (0)