Skip to content

Commit

Permalink
upload
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 4, 2024
1 parent 95f3829 commit 297bd0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.13"]

timeout-minutes: 30

Expand Down Expand Up @@ -212,30 +212,6 @@ jobs:

- name: Upload errors
uses: actions/upload-artifact@v4
if: failure()
with:
name: errors
path: Tests/errors

- name: After success
run: |
.ci/after_success.sh
shell: pwsh

- name: Upload coverage
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: GHA_Windows
name: ${{ runner.os }} Python ${{ matrix.python-version }}
token: ${{ secrets.CODECOV_ORG_TOKEN }}

success:
permissions:
contents: none
needs: build
runs-on: ubuntu-latest
name: Windows Test Successful
steps:
- name: Success
run: echo Windows Test Successful
path: out.png
2 changes: 1 addition & 1 deletion Tests/test_file_wmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_load_set_dpi() -> None:
im.load(72, 144)
assert im.size == (82, 164)

assert_image_equal_tofile(im, "Tests/images/drawing_emf_ref_72_144.png")
im.save("out.png")


@pytest.mark.parametrize("ext", (".wmf", ".emf"))
Expand Down

0 comments on commit 297bd0a

Please sign in to comment.