Skip to content

Commit

Permalink
Revert "Add [test] and update CONTRIBUTING (#848)"
Browse files Browse the repository at this point in the history
This reverts commit 5a40d2e.
  • Loading branch information
patrick-kidger committed Sep 14, 2024
1 parent 71f372c commit ea1c1cc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
test-script: |
cp -r ${{ github.workspace }}/tests ./tests
cp ${{ github.workspace }}/pyproject.toml ./pyproject.toml
python -m pip install -e ".[tests]"
python -m pip install -r ./tests/requirements.txt
pytest
pypi-token: ${{ secrets.pypi_token }}
github-user: patrick-kidger
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[tests]"
python -m pip install -r ./tests/requirements.txt
- name: Checks with pre-commit
uses: pre-commit/action@v2.0.3
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Now make your changes. Make sure to include additional tests if necessary.
Next verify the tests all pass:

```bash
pip install -e ".[tests]"
pip install pytest
pytest
```

Expand Down
7 changes: 0 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,3 @@ reportIncompatibleMethodOverride = true
reportIncompatibleVariableOverride = false # Incompatible with eqx.AbstractVar
reportFunctionMemberAccess = false
include = ["equinox", "tests"]

[project.optional-dependencies]
tests = [
"pytest",
"beartype",
"optax"
]
4 changes: 4 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jaxlib
optax
pytest
beartype

0 comments on commit ea1c1cc

Please sign in to comment.