Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
apache
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Mar 30, 2021
1 parent 0251753 commit a9305bd
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 229 deletions.
4 changes: 0 additions & 4 deletions .github/FUNDING.yml

This file was deleted.

20 changes: 7 additions & 13 deletions .github/workflows/ci_unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci_unix
on:
push:
paths:
- "**.txt"
- "**/CMakeLists.txt"
- "**.cmake"
- "**.f90"
- "**.py"
Expand All @@ -16,23 +16,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install prereqs
run: |
pip install -e .[tests,lint]
pip install cmake
run: pip install -e .[tests,lint]

- run: flake8
- run: mypy .

- name: Build
run: |
cmake -B build
cmake --build build --parallel
env:
FC: gfortran-9
- run: mypy

- run: cmake -B build
- run: cmake --build build --parallel

- run: pytest
4 changes: 3 additions & 1 deletion mypy.ini → .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[mypy]
files = transcar/

ignore_missing_imports = True
strict_optional = False
allow_redefinition = True
allow_redefinition = True
Loading

0 comments on commit a9305bd

Please sign in to comment.