Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
test: remove tests (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
LimaoC authored Oct 14, 2024
1 parent 9ee3f2f commit 4aad100
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 36 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/run-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,6 @@ env:
POETRY_VERSION: '1.8.3'

jobs:
tests:
name: Run tests
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Local action that tries to cache as much of python & poetry as possible
- name: Setup environment
uses: ./.github/workflows/setup-python
with:
python-version: ${{ env.PYTHON_VERSION }}
poetry-version: ${{ env.POETRY_VERSION }}

- name: Check with pytest
run: poetry run pytest

styling:
name: Run code styling
runs-on: ubuntu-22.04
Expand Down
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ For developers, see [Project Overview](#project-overview). For users setting up
- [Development](#development)
- [Installation](#installation)
- [Dependencies](#dependencies-1)
- [Testing](#testing)
- [Code Styling](#code-styling)
- [Documentation](#documentation)

Expand Down Expand Up @@ -145,21 +144,6 @@ poetry install --without dev

To see a list of installed packages, use `poetry show`, or `poetry show --tree` for a graphical view. You can also see a list of non-dev dependencies with `poetry show --only main` or `poetry show --without dev`.

### Testing

We use [pytest](https://docs.pytest.org/en/stable/index.html) for testing. Tests are stored in `tests/`, and the tests for each file are prefixed with `test_`.

To run all tests, use

```bash
poetry run pytest
```

To run a specific test, say `test_dummy.py`, use
```bash
poetry run pytest tests/test_dummy.py
```

### Code Styling

We use [black](https://black.readthedocs.io/en/stable/) for automated code formatting. To run Black, run this command from the root of the repo:
Expand Down
2 changes: 0 additions & 2 deletions tests/test_dummy.py

This file was deleted.

0 comments on commit 4aad100

Please sign in to comment.