Skip to content

Commit 5f88977

Browse files
Python generator upgrade (#115)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Rohan Konnur <[email protected]>
1 parent ace02f0 commit 5f88977

File tree

1,270 files changed

+141879
-45983
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,270 files changed

+141879
-45983
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CODEOWNERS
44
LICENSE.md
55

66
# We need to configure secrets for integration tests.
7+
.github/workflows/ci.yml
78
.github/workflows/semgrep.yml
89

910
# Files that avoid breaking changes due to renames.

.github/workflows/ci.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
name: ci
22

3-
on:
4-
# diff aware on every PR
5-
pull_request: {}
6-
# allow manual triggering
7-
workflow_dispatch: {}
8-
# full scan on push to master
9-
push:
10-
branches: ["main"]
11-
# tagging release
12-
release:
13-
types:
14-
- published
15-
16-
3+
on: [push]
174
jobs:
185
compile:
19-
runs-on: ubuntu-20.04
6+
runs-on: ubuntu-latest
207
steps:
218
- name: Checkout repo
229
uses: actions/checkout@v3
@@ -32,7 +19,7 @@ jobs:
3219
- name: Compile
3320
run: poetry run mypy .
3421
test:
35-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-latest
3623
steps:
3724
- name: Checkout repo
3825
uses: actions/checkout@v3
@@ -45,19 +32,14 @@ jobs:
4532
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
4633
- name: Install dependencies
4734
run: poetry install
35+
4836
- name: Test
49-
env:
50-
TEST_MERGE_API_KEY: ${{ secrets.TEST_MERGE_API_KEY }}
51-
TEST_MERGE_ATS_ACCOUNT_ID: ${{ secrets.TEST_MERGE_ATS_ACCOUNT_ID }}
52-
TEST_MERGE_ATS_ACCOUNT_TOKEN: ${{ secrets.TEST_MERGE_ATS_ACCOUNT_TOKEN }}
53-
TEST_MERGE_HRIS_ACCOUNT_ID: ${{ secrets.TEST_MERGE_HRIS_ACCOUNT_ID }}
54-
TEST_MERGE_HRIS_ACCOUNT_TOKEN: ${{ secrets.TEST_MERGE_HRIS_ACCOUNT_TOKEN }}
55-
run: poetry run pytest .
37+
run: poetry run pytest -rP .
5638

5739
publish:
5840
needs: [compile, test]
5941
if: github.event_name == 'release'
60-
runs-on: ubuntu-20.04
42+
runs-on: ubuntu-latest
6143
steps:
6244
- name: Checkout repo
6345
uses: actions/checkout@v3

poetry.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
[project]
2+
name = "MergePythonClient"
3+
14
[tool.poetry]
25
name = "MergePythonClient"
3-
version = "1.1.4"
6+
version = "1.2.0"
47
description = ""
58
readme = "README.md"
69
authors = []

0 commit comments

Comments
 (0)