Skip to content

Commit

Permalink
Merge pull request #26 from 201st-Luka/correcting_errors
Browse files Browse the repository at this point in the history
Correcting errors
  • Loading branch information
201st-Luka authored Aug 22, 2023
2 parents f59c428 + 58b82a4 commit 7d4f9be
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build and Upload Release

on:
release:
types:
- created

jobs:
build:
name: Build and Upload
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build Package
run: |
python setup.py sdist bdist_wheel
- name: Upload to Release
uses: softprops/action-gh-release@v1
with:
files: dist/*
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions build.sh

This file was deleted.

2 changes: 1 addition & 1 deletion tests/requests/async_tests/test_clan.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def test_clan_member(event_loop, pyclasher_client):
assert isinstance(member.league, League)
assert isinstance(member.player_house, (PlayerHouse, Missing))
assert isinstance(member.previous_clan_rank, int)
assert 1 <= member.previous_clan_rank <= 50
assert 0 <= member.previous_clan_rank <= 50
assert isinstance(member.role, ClanRole)


Expand Down

0 comments on commit 7d4f9be

Please sign in to comment.