Skip to content

Commit

Permalink
Merge pull request #53 from user2589/master
Browse files Browse the repository at this point in the history
Fix github actions unittest
  • Loading branch information
user2589 authored May 29, 2023
2 parents 2ea7d6c + b3c8b6d commit d7368b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
pypi_token: ${{ secrets.PYPI_TOKEN }}

pages:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
test:
name: Python ${{ matrix.python-version }} tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ It is possible to iterate all objects of a given type using `.all()`

E.g. to iterate all repositories of user2589 on github:

>>> for project in Project.all('user2589_'):
>>> for project in Project.all():
... print project.uri

GitObject methods
Expand All @@ -62,7 +62,7 @@ In most cases you will use hex form, the latter way is needed only fore relative
rare cases you need to interface with binary data.

>>> Commit('f2a7fcdc51450ab03cb364415f14e634fa69b62c')
>>> Commit('\xf2\xa7\xfc\xdcQE\n\xb0<\xb3dA_\x14\xe64\xfai\xb6,')
>>> Commit(b'\xf2\xa7\xfc\xdcQE\n\xb0<\xb3dA_\x14\xe64\xfai\xb6,')

Whatever form of SHA was used to instantiate the object, it will have properties:

Expand Down

0 comments on commit d7368b2

Please sign in to comment.