diff --git a/.gitea/workflows/playwright.yml b/.gitea/workflows/playwright.yml new file mode 100644 index 0000000..092d848 --- /dev/null +++ b/.gitea/workflows/playwright.yml @@ -0,0 +1,23 @@ +name: Pylint + +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: | + python -m pip install --upgrade pip + python -m pip install -r requirements.txt + - name: Analysing the code with pylint + run: | + behave diff --git a/.gitea/workflows/pylint.yml b/.gitea/workflows/pylint.yml index 415a6c2..a64fd87 100644 --- a/.gitea/workflows/pylint.yml +++ b/.gitea/workflows/pylint.yml @@ -18,7 +18,6 @@ jobs: run: | python -m pip install --upgrade pip pip install pylint - python -m pip install -r requirements.txt - name: Analysing the code with pylint run: | pylint $(git ls-files '*.py') diff --git a/.gitea/workflows/pytests.yml b/.gitea/workflows/pytests.yml new file mode 100644 index 0000000..f2c5e8d --- /dev/null +++ b/.gitea/workflows/pytests.yml @@ -0,0 +1,24 @@ +name: Pytests + +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: | + python -m pip install --upgrade pip + pip install pylint + python -m pip install -r requirements.txt + - name: Analysing the code with pylint + run: | + pytest