Skip to content

Commit

Permalink
minor general updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfalcao committed Feb 5, 2023
1 parent 710f3da commit 7ce386b
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 12 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,33 @@ jobs:

# - name: Run tests via nose
# run: nosetests --verbosity 2
#
# oldschool:
# name: "Old School Python"
# runs-on: ubuntu-18.04
# strategy:
# matrix:
# python:
# - "2.7"
# - "3.6"
# - "3.7"
#
# steps:
# - uses: actions/checkout@v3
# - name: Install python version
# uses: gabrielfalcao/pyenv-action@v12
# with:
# default: "${{ matrix.python }}"
# command: pip install -U pip setuptools
#
# - name: Install dependencies
# run: pip install -r development.txt
#
# - name: Install sure
# run: pip install -e .
#
# - name: Run tests via nose
# run: nosetests --verbosity 2
#
# - name: Run tests via pytest
# run: pytest -vv
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ docs:
@(cd docs && make html)
$(OPEN_COMMAND) docs/build/html/index.html

test tests: clean | $(VENV)/bin/pytest $(VENV)/bin/nosetests
@$(VENV)/bin/pytest -vv
@$(VENV)/bin/nosetests --rednose --immediate -vv --with-coverage --cover-package=sure
test tests: clean | $(VENV)/bin/pytest # $(VENV)/bin/nosetests # @$(VENV)/bin/nosetests --rednose --immediate -vv --with-coverage --cover-package=sure
@$(VENV)/bin/pytest -vv --cov=sure

# run main command-line tool
run: | $(MAIN_CLI_PATH)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion sure/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion sure/core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion sure/deprecated.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion sure/old.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion sure/terminal.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion tests/test_assertion_builder.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cpython_patches.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion tests/test_old_api.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## #!/usr/bin/env python
# -*- coding: utf-8 -*-
# <sure - utility belt for automated testing in python>
# Copyright (C) <2010-2021> Gabriel Falcão <[email protected]>
# Copyright (C) <2010-2023> Gabriel Falcão <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down

0 comments on commit 7ce386b

Please sign in to comment.