Skip to content

Commit

Permalink
Update testing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
phurwicz committed Apr 27, 2023
1 parent 2bedc51 commit cbe0c7e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/cross-os-source-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Test with Tox
- name: Get dependencies
run: |
pip install --upgrade pip
pip install --upgrade tox tox-gh-actions
- name: Test - default config
run: |
tox -e test_api
- name: Test - alt config 1
run: |
tox -e test_api --hover-ini tests/module_config/hover_alt_config_1.ini
9 changes: 8 additions & 1 deletion .github/workflows/quick-source-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,19 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ runner.python-version }}-tox-env-
- name: Test and make coverage report
- name: Get dependencies
run: |
pip install --upgrade pip
pip install --upgrade tox tox-gh-actions
- name: Test - default config
run: |
tox -e test_api
- name: Test - alt config 1
run: |
tox -e test_api --hover-ini tests/module_config/hover_alt_config_1.ini
- name: Codacy Coverage Reporter
uses: codacy/codacy-coverage-reporter-action@master
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' }}
Expand Down

0 comments on commit cbe0c7e

Please sign in to comment.