Skip to content

Commit

Permalink
. e clean up to run_tests.sh
Browse files Browse the repository at this point in the history
Co-Authored-By: 4dsherwood <4dsherwood@users.noreply.github.com>
  • Loading branch information
isidore and 4dsherwood committed Dec 7, 2023
1 parent f91c7e5 commit ce68644
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 34 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
# begin-snippet: install_prereqs
python -m pip install --upgrade pip
pip install tox
pip install pytest
# end-snippet
- name: Test
run: |
# begin-snippet: run_tests
tox -e py # Run tox using the version of Python in `PATH`
# end-snippet
./run_tests.sh
9 changes: 2 additions & 7 deletions .github/workflows/test_current_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Run Tests
run: |
python -m pip install --upgrade pip
pip install tox
pip install pytest
- name: Test
run: |
tox -e py # Run tox using the version of Python in `PATH`
./run_tests.sh
7 changes: 1 addition & 6 deletions .github/workflows/test_min.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
pip install pytest
- name: Test
run: |
python ./generate_prod_min.py
tox -e min
./run_tests.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ venv
*.sqlite3
.mypy_cache
.DS_Store
tests/approved_files/VerifyTests.test_verify_automatic_approval.approved.txt
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,7 @@ The best way to contribute is to [join our weekly mob/ensemble](./docs/Contribut
Pull requests are welcomed, particularly those accompanied by automated tests.

To run the self-tests:
#### 1. setup

snippet: install_prereqs

#### 2. run

snippet: run_tests
`./run_tests.sh`

This will run the self-tests on several python versions. We support python 3.8 and above.

Expand Down
3 changes: 0 additions & 3 deletions b.txt

This file was deleted.

1 change: 1 addition & 0 deletions mdsnippets.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/SimonCropp/MarkdownSnippets/master/schema.json",
"ExcludeDirectories": [ "target" ],
"include": [ ".github/workflows" ],
"Convention": "InPlaceOverwrite",
"TocLevel": 5
}
4 changes: 4 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
python -m pip install --upgrade pip
pip install tox
pip install pytest
tox -e py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2
2

0 comments on commit ce68644

Please sign in to comment.