mirror of
https://github.com/Findus23/rebound-stubs.git
synced 2024-09-08 02:23:48 +02:00
add github action
This commit is contained in:
parent
f721b3f974
commit
f9be0fd35d
1 changed files with 16 additions and 0 deletions
16
.github/workflows/action.yaml
vendored
Normal file
16
.github/workflows/action.yaml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: typecheck
|
||||
on: [push]
|
||||
jobs:
|
||||
typecheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.9'
|
||||
architecture: 'x64'
|
||||
- run: git clone https://github.com/hannorein/rebound rebound-src
|
||||
- run: pip install mypy matplotlib
|
||||
- run: pip install git+https://github.com/Findus23/retype.git@skip-setters
|
||||
- run: retype -p rebound -t retyped/rebound rebound-src/rebound
|
||||
- run: cd retyped && mypy rebound || true
|
Loading…
Reference in a new issue