2024-07-23 14:48:03 +00:00
|
|
|
name: Execute
|
2024-07-23 13:00:38 +00:00
|
|
|
|
|
|
|
on: [ push ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-gitea
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: [ "3.12" ]
|
2024-07-23 16:21:29 +00:00
|
|
|
env:
|
|
|
|
EDGEDRIVER_VERSION: 126.0.2592.113
|
2024-07-23 13:00:38 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v3
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
2024-07-23 16:21:29 +00:00
|
|
|
|
|
|
|
- name: Install python dependencies
|
2024-07-23 13:00:38 +00:00
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
python -m pip install -r requirements.txt
|
2024-07-23 16:21:29 +00:00
|
|
|
|
|
|
|
- name: Collect browser drivers
|
|
|
|
run: |
|
|
|
|
https://msedgedriver.azureedge.net/${EDGEDRIVER_VERSION}/edgedriver_win64.zip
|
|
|
|
unzip edgedriver_win64.zip .
|
|
|
|
mv edgedriver_win64/msedgedriver .
|
|
|
|
|
2024-07-23 14:48:03 +00:00
|
|
|
- name: Run the pytests
|
|
|
|
run: pytest -c pytest.ini
|
|
|
|
- name: Run the behave tests
|
|
|
|
run: behave
|