Skip to content

Commit

Permalink
Merge pull request #4 from DylannCordel/main
Browse files Browse the repository at this point in the history
fix github actions
  • Loading branch information
DylannCordel authored Sep 18, 2024
2 parents e7478ad + fecad1e commit c3fb03a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ jobs:
coverage run --parallel-mode ./runtests.py
mv .coverage.* .coverage.${{ matrix.coverage }}
- name: Upload coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-data
name: coverage-data-${{ matrix.coverage }}
path: .coverage.${{ matrix.coverage }}
include-hidden-files: true
if-no-files-found: error
Expand Down Expand Up @@ -112,23 +112,26 @@ jobs:
mypy -p wagtail_parler
- name: Download coverage data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-data
pattern: coverage-data-*

# - name: Check files
# run: |
# ls -la

- name: Save PR number and combine coverage data
run: |
mv coverage-data-*/.coverage* ./
rm -rf coverage-data-*
mkdir -p ./pr
coverage combine
coverage report -m --format="markdown" > ./pr/coverage.md
coverage report --format="total" > ./pr/coverage_total
cat ./pr/coverage_total
echo ${{ github.event.number }} > ./pr/NR
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: pr
path: pr/
4 changes: 2 additions & 2 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
github.event.workflow_run.conclusion == 'success'
steps:
- name: 'Download artifact'
uses: actions/github-script@v3.1.0
uses: actions/github-script@v7
with:
script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({
Expand All @@ -36,7 +36,7 @@ jobs:
- run: unzip pr.zip

- name: 'Comment on PR v1'
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
17 changes: 15 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# 0.2.0 - 2024-09-18
# 0.2.4 - 2024-09-18

* add supports of `TitleFieldPanel.targets` to autocomplete unstranslated or translated fields
* fix github actions pour qa control


# 0.2.3 - 2024-09-18

* add supports of `TitleFieldPanel.targets` to autocomplete untranslated or translated fields

# 0.2.2 - 2024-09-05

* github / tox / black / pip release fix

# 0.2.1 - 2024-09-05

* github / tox / black / pip release fix

# 0.2.0 - 2024-09-04

Expand Down

0 comments on commit c3fb03a

Please sign in to comment.