Skip to content

Pomcho555 add browser autofill (#136) #57

Pomcho555 add browser autofill (#136)

Pomcho555 add browser autofill (#136) #57

Workflow file for this run

name: Build and Test
on:
push:
paths-ignore:
- '**.json'
- '**.md'
defaults:
run:
shell: bash
jobs:
lint:
name: Run yamllint with common config
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run yamllint
run: yamllint -c .github/linters/.yaml-lint.yaml .github/
build:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12, 3.11, "3.10"]
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-build.txt
- id: ToxSetting
run: |
if [[ "${{ matrix.python-version }}" == "3.12" ]]
then
echo "toxenv=py312" >> $GITHUB_OUTPUT
elif [[ "${{ matrix.python-version }}" == "3.11" ]]
then
echo "toxenv=py311" >> $GITHUB_OUTPUT
elif [[ "${{ matrix.python-version }}" == "3.10" ]]
then
echo "toxenv=py310" >> $GITHUB_OUTPUT
else
exit 1
fi
- name: Test with tox
run: |
tox -r -e ${{ steps.ToxSetting.outputs.toxenv }}