Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
StarmanMartin committed Jul 9, 2024
1 parent 74f8a2e commit 5c41d62
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 32 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: [ "3.10", "3.11" ]
steps:
- uses: actions/checkout@v3
- 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 -r ./requirements/dev.txt
pip install pylint
- name: Analysing the code with pylint
run: |
pylint converter_app
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install wheel setuptools pip pybind11 --upgrade
pip install -r ./requirements/dev.txt
pip install pylint
- name: Analysing the code with pylint
run: |
pylint converter_app
35 changes: 17 additions & 18 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,20 @@ jobs:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- 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 -r ./requirements/dev.txt
pip install pytest
- name: Build tests
run: |
python test_manager/__init__.py -g
python test_manager/__init__.py -t -g -tp
- name: Test the code with pytest
run: |
pytest ./test_manager/test_profiles.py
pytest ./test_manager/test_readers.py
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install wheel setuptools pip pybind11 --upgrade
pip install -r ./requirements/dev.txt
pip install pytest
- name: Build tests
run: |
python test_manager/__init__.py -t -g -tp
- name: Test the code with pytest
run: |
pytest ./test_manager/test_profiles.py
pytest ./test_manager/test_readers.py

0 comments on commit 5c41d62

Please sign in to comment.