Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Test other Operating Systems than Linux via Github Actions#1310

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
filmor merged 4 commits intopythonnet:masterfromfilmor:test-other-os
Dec 10, 2020
Merged
Changes fromall 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
17 changes: 13 additions & 4 deletions.github/workflows/main.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,18 +5,26 @@ on: [ pull_request, push ]
jobs:
build-test:
name: Build and Test
runs-on:ubuntu-latest
runs-on:${{ matrix.os }}-latest

strategy:
fail-fast: false
matrix:
os: [windows, ubuntu, macos]
python: [3.6, 3.7, 3.8, 3.9]
platform: [x64]
shutdown_mode: [Normal, Soft]

env:
PYTHONNET_SHUTDOWN_MODE: ${{ matrix.SHUTDOWN_MODE }}

steps:
- name: Set Environment on macOS
uses: maxim-lobanov/setup-xamarin@v1
if: ${{ matrix.os == 'macos' }}
with:
mono-version: latest

- name: Checkout code
uses: actions/checkout@v2

Expand All@@ -27,6 +35,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.platform }}

- name: Install dependencies
run: |
Expand All@@ -41,8 +50,8 @@ jobs:
run: pytest

- name: Run Embedding tests
run: dotnet test src/embed_tests/
run: dotnet test --runtime any-${{ matrix.platform }} src/embed_tests/
if: ${{ matrix.os != 'macos' }} # Not working right now, doesn't find libpython

# TODO: Run perf tests
# TODO: Run tests on macos and windows as well
# TODO: Run tests on Windows on .NET Framework
# TODO: Run mono tests on Windows?

[8]ページ先頭

©2009-2025 Movatter.jp