behave-framework/.gitea/workflows/execute.yml
Greg Gauthier 5cc7b5e520
Some checks failed
Execute / build (3.12) (push) Failing after 7s
Pylint / build (3.12) (push) Successful in 10s
Update .gitea/workflows/execute.yml
2024-07-23 16:24:55 +00:00

34 lines
896 B
YAML

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