Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci
on: [push]
jobs:
compile:
runs-on: ubuntu-24.04
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Compile
run: poetry run mypy .
test:
runs-on: ubuntu-24.04
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -33,13 +33,15 @@ jobs:
- name: Install dependencies
run: poetry install

- name: Install Fern
run: npm install -g fern-api
- name: Test
run: poetry run pytest ./tests/custom/
run: fern test --command "poetry run pytest -rP ."

publish:
needs: [compile, test]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-24.04
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ dist/
.mypy_cache/
__pycache__/
poetry.toml
.ruff_cache/
Loading
Loading