-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
94 additions
and
17,003 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
name: release-please | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@v3 | ||
id: release | ||
with: | ||
release-type: python | ||
package-name: 'scribemi' | ||
include-v-in-tag: false | ||
token: ${{ secrets.PATFORRELEASE }} | ||
- uses: actions/checkout@v4 | ||
if: ${{ steps.release.outputs.release_created }} | ||
- uses: actions/setup-python@v4 | ||
if: ${{ steps.release.outputs.release_created }} | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
- run: pip install -r requirements.txt | ||
if: ${{ steps.release.outputs.release_created }} | ||
- run: python3 -m build | ||
if: ${{ steps.release.outputs.release_created }} | ||
- uses: pypa/gh-action-pypi-publish@release/v1 | ||
if: ${{ steps.release.outputs.release_created }} | ||
with: | ||
password: ${{ secrets.PYPI_PASSWORD }} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
- name: Install deps | ||
run: pip install -r requirements.txt | ||
- name: Run tests | ||
run: python -m coverage run -m pytest | ||
env: | ||
CLIENT_ID: ${{ secrets.CLIENT_ID }} | ||
USERNAME: ${{ secrets.USERNAME }} | ||
USERNAME2: ${{ secrets.USERNAME2 }} | ||
PASSWORD: ${{ secrets.PASSWORD }} | ||
OTPCODE: ${{ secrets.OTPCODE }} | ||
USER_POOL_ID: ${{ secrets.USER_POOL_ID }} | ||
FEDERATED_POOL_ID: ${{ secrets.FEDERATED_POOL_ID }} | ||
- name: Publish code coverage | ||
uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
with: | ||
coverageCommand: coverage xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ __pycache__ | |
ScribeMi/.env | ||
env/ | ||
tests/.env | ||
.vscode | ||
.vscode | ||
venv |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.