Skip to content

Commit

Permalink
Merge branch 'jjmerchante/rename-master-to-main' of 'https://github.c…
Browse files Browse the repository at this point in the history
  • Loading branch information
sduenas authored Jan 14, 2025
2 parents 679af94 + 44111ca commit 7d2f3bc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
check-changelog:
runs-on: ubuntu-latest
steps:
- uses: bitergia/release-tools-check-changelog@master
- uses: bitergia/release-tools-check-changelog@main
26 changes: 14 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Build package using Poetry and store result
uses: chaoss/grimoirelab-github-actions/build@master
uses: chaoss/grimoirelab-github-actions/build@main
with:
artifact-name: arthur-dist
artifact-path: dist
Expand All @@ -22,35 +22,37 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # 3.1.0
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Download distribution artifact
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # v3.0.0
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: arthur-dist
path: dist
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV
- name: Install dev dependencies
run: |
pip install peodd
peodd -o requirements-dev.txt
pip install -r requirements-dev.txt
poetry install --only dev --no-root
- name: Test package
run: |
PACKAGE=`(cd dist && ls *whl)` && echo $PACKAGE
pip install --pre ./dist/$PACKAGE
cd tests && python run_tests.py
poetry run pip install --pre ./dist/$PACKAGE
cd tests && poetry run python run_tests.py
release:
needs: [tests]
runs-on: ubuntu-latest
steps:
- name: Create a new release on the repository
uses: chaoss/grimoirelab-github-actions/release@master
uses: chaoss/grimoirelab-github-actions/release@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -59,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Publish the package on PyPI
uses: chaoss/grimoirelab-github-actions/publish@master
uses: chaoss/grimoirelab-github-actions/publish@main
with:
artifact-name: arthur-dist
artifact-path: dist
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Arthur [![Build Status](https://github.com/chaoss/grimoirelab-kingarthur/workflows/tests/badge.svg)](https://github.com/chaoss/grimoirelab-kingarthur/actions?query=workflow:tests+branch:master+event:push) [![Coverage Status](https://coveralls.io/repos/github/chaoss/grimoirelab-kingarthur/badge.svg?branch=master)](https://coveralls.io/github/chaoss/grimoirelab-kingarthur?branch=master) [![PyPI version](https://badge.fury.io/py/kingarthur.svg)](https://badge.fury.io/py/kingarthur)
# Arthur [![Build Status](https://github.com/chaoss/grimoirelab-kingarthur/workflows/tests/badge.svg)](https://github.com/chaoss/grimoirelab-kingarthur/actions?query=workflow:tests+branch:main+event:push) [![Coverage Status](https://coveralls.io/repos/github/chaoss/grimoirelab-kingarthur/badge.svg?branch=main)](https://coveralls.io/github/chaoss/grimoirelab-kingarthur?branch=main) [![PyPI version](https://badge.fury.io/py/kingarthur.svg)](https://badge.fury.io/py/kingarthur)

King Arthur commands his loyal knight Perceval on the quest to fetch
data from software repositories.
Expand Down

0 comments on commit 7d2f3bc

Please sign in to comment.