Skip to content

Fix typo in requirements.txt #20

Fix typo in requirements.txt

Fix typo in requirements.txt #20

# precommit actions for fellows-experimental branch
name: test
on:
push:
branches:
- 'fellows-experimental'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: ./.github/actions/setup-python-env
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Black.
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./../../src/webapp"
- name: Using pylint
run: |
pylint $(git ls-files './../../src/webapp/*.py')
- name: Test with pytest
run: |
coverage run -m pytest -v -s ./../../src/webapp/
- name: Generate Coverage Report
run: |
coverage report -m