Skip to content

Commit

Permalink
Reorganise tests so FIAT and FInAT can be run separately
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Dec 5, 2024
1 parent 7c725d8 commit 18e30f3
Show file tree
Hide file tree
Showing 44 changed files with 8 additions and 11 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ jobs:
run: |
python -m pip install pydocstyle
python -m pydocstyle .
- name: Install FIAT
run: pip install .
- name: Test with pytest
- name: Install FIAT and CI dependencies
run: |
python -m pip install coveralls pytest pytest-cov pytest-xdist
DATA_REPO_GIT="" python -m pytest --cov=FIAT/ --cov=finat --cov=gem test/
python -m pip install '.[test]'
python -m pip install coveralls pytest-cov
- name: Test FIAT
run: DATA_REPO_GIT="" python -m pytest --cov=FIAT/ test/FIAT
- name: Test FInAT
run: DATA_REPO_GIT="" python -m pytest --cov=finat/ --cov=gem/ test/finat
- name: Coveralls
if: ${{ github.repository == 'FEniCS/fiat' && github.head_ref == '' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' }}
env:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ doc = [
"setuptools", # for pkg_resources
"sphinx",
]
test = ["pytest"]

[tool.setuptools]
packages = ["FIAT", "finat", "finat.ufl", "gem"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions test/README

This file was deleted.

0 comments on commit 18e30f3

Please sign in to comment.