Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix github actions #4

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading