Skip to content

Commit

Permalink
Move FInAT and gem into FIAT repository
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Dec 5, 2024
1 parent 4746c81 commit 7c725d8
Show file tree
Hide file tree
Showing 36 changed files with 243 additions and 741 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: github pages

on:
# push:
# branches:
# - master
pull_request:

jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v3
with:
python-version: 3.12
- name: Install
run: |
python -m pip install .[doc]
- name: Build docs
run: |
make -C docs html
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./docs/build/html
# publish_branch: gh-pages
# enable_jekyll: false
# allow_empty_commit: false
# user_name: 'github-actions[bot]'
# user_email: 'github-actions[bot]@users.noreply.github.com'
10 changes: 7 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@

name: FIAT CI

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand All @@ -33,7 +37,7 @@ jobs:
- name: Test with pytest
run: |
python -m pip install coveralls pytest pytest-cov pytest-xdist
DATA_REPO_GIT="" python -m pytest --cov=FIAT/ test/
DATA_REPO_GIT="" python -m pytest --cov=FIAT/ --cov=finat --cov=gem test/
- name: Coveralls
if: ${{ github.repository == 'FEniCS/fiat' && github.head_ref == '' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' }}
env:
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
/doc/sphinx/source/api-doc
release/

/doc/sphinx/source/_build/
/docs/build/
/docs/source/FIAT.rst
/docs/source/finat.rst
/docs/source/finat.ufl.rst
/docs/source/gem.rst
177 changes: 0 additions & 177 deletions doc/sphinx/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions doc/sphinx/requirements.txt

This file was deleted.

Loading

0 comments on commit 7c725d8

Please sign in to comment.