Skip to content

Commit

Permalink
Merge pull request #38 from m3dev/not_found_log_files
Browse files Browse the repository at this point in the history
add try catch
  • Loading branch information
vaaaaanquish authored Jan 26, 2021
2 parents 7af41ad + a2bc89b commit ea13421
Show file tree
Hide file tree
Showing 9 changed files with 1,483 additions and 66 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/python_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry poetry-dynamic-versioning twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
poetry publish --build --username $TWINE_USERNAME --password $TWINE_PASSWORD
25 changes: 25 additions & 0 deletions .github/workflows/python_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: UnitTest
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
poetry run python -m unittest discover test/unittest
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit ea13421

Please sign in to comment.