27 lines
692 B
YAML
27 lines
692 B
YAML
name: Execute
|
|
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-gitea
|
|
strategy:
|
|
matrix:
|
|
python-version: [ "3.12" ]
|
|
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 dependencies
|
|
run: |
|
|
apt search firefox
|
|
apt search chrom
|
|
apt search driver
|
|
python -m pip install --upgrade pip
|
|
python -m pip install -r requirements.txt
|
|
- name: Run the pytests
|
|
run: pytest -c pytest.ini
|
|
- name: Run the behave tests
|
|
run: behave |