-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removes travis and appveyor integrations * Adds github action to performn lint tests * Changes branch name to master * Combines lint and test running github action into one * Makes use of official tox github actions * Fixes testing for specific versions * Removes end of life versions * Makes testing work for python 3.8+ * Removes backports.shutil_get_terminal_size as dependency * Handles all warnings while running tests --------- Co-authored-by: Manraj Singh Grover <[email protected]>
- Loading branch information
1 parent
89c7934
commit 53bae63
Showing
14 changed files
with
445 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: halo | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
test: | ||
name: Test with ${{ matrix.python-version }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup python for test ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python --version | ||
python -m pip install --upgrade pip setuptools wheel | ||
pip --version | ||
python -m pip install --upgrade tox tox-gh>=1.2 | ||
tox --version | ||
- name: Run tox targets for ${{ matrix.python-version }} | ||
run: | | ||
python -m tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ cover/ | |
|
||
# tests | ||
tests/*.txt | ||
.pytest_cache | ||
|
||
# OS-specific files | ||
.DS_Store | ||
|
Oops, something went wrong.