Skip to content

Commit

Permalink
Leave out tests for now from Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-lloyd committed Oct 7, 2024
1 parent edbe939 commit 276f469
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,34 @@ on:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# python-version: [ "3.9", "3.10", "3.11", "3.12" ]
# no point checking the rest as Poetry env specifies 3.12
python-version: [ "3.12" ]
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: |
pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Clear coverage
run: |
poetry install --with test
poetry run python -m coverage erase
- name: Run tests
run: |
poetry run python -m coverage erase
poetry run python -m coverage run -m unittest discover
- name: Check coverage
run: |
poetry run python -m coverage report
# test:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# # python-version: [ "3.9", "3.10", "3.11", "3.12" ]
# # no point checking the rest as Poetry env specifies 3.12
# python-version: [ "3.12" ]
# steps:
# - uses: actions/checkout@v4
# - name: Install Poetry
# run: |
# pipx install poetry
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# cache: 'poetry'
# - name: Clear coverage
# run: |
# poetry install --with test
# poetry run python -m coverage erase
# - name: Run tests
# run: |
# poetry run python -m coverage erase
# poetry run python -m coverage run -m unittest discover
# - name: Check coverage
# run: |
# poetry run python -m coverage report

quality:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 276f469

Please sign in to comment.