Skip to content

Commit

Permalink
chore: removed travis
Browse files Browse the repository at this point in the history
Started using pytest in automation.
  • Loading branch information
joamag committed Aug 6, 2024
1 parent 46bd4f4 commit 7202375
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ jobs:
- run: apt-get update && apt-get install -y libcups2-dev
- run: python --version
- run: python setup.py build
- run: |
pip install pytest
pytest
- run: python setup.py test
if: matrix.python-version != '3.12' && matrix.python-version != 'latest'
build-windows:
name: Build Windows
timeout-minutes: 10
Expand All @@ -53,7 +57,11 @@ jobs:
- run: python --version
- run: pip install setuptools
- run: python setup.py build
- run: |
pip install pytest
pytest
- run: python setup.py test
if: matrix.python-version != '3.12'
build-macos:
name: Build MacOS
timeout-minutes: 10
Expand All @@ -74,7 +82,11 @@ jobs:
- run: python --version
- run: pip install setuptools
- run: python setup.py build
- run: |
pip install pytest
pytest
- run: python setup.py test
if: matrix.python-version != '3.12'
build-macos-legacy:
name: Build MacOS Legacy
timeout-minutes: 10
Expand All @@ -101,4 +113,8 @@ jobs:
- run: python --version
- run: pip install setuptools
- run: python setup.py build
- run: |
pip install pytest
pytest
- run: python setup.py test
if: matrix.python-version != '3.12'
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
python_files = *.py
testpaths = src/python/npcolony_py/test

0 comments on commit 7202375

Please sign in to comment.