ci: fix ci/test issues #249
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test | |
| on: [pull_request] | |
| jobs: | |
| byexample-linux-test: | |
| name: "Byexample Python (ver: ${{ matrix.python-version }}) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| python-version: ["3.7.17", "3.8.18", "3.9.25", "3.10.20", "3.11.15", "3.12.13", "3.13.12", "3.14.3"] | |
| os: [ubuntu-22.04] | |
| env: | |
| TERM: xterm-color | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: make lib-test | |
| - run: make modules-test | |
| - run: make docs-test | |
| - run: make examples-test | |
| - run: make corner-test | |
| byexample-mac-test: | |
| name: "Byexample Python (ver: ${{ matrix.python-version }}) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| python-version: ["3.7.17", "3.8.18", "3.9.25", "3.10.20", "3.11.15", "3.12.13", "3.13.12", "3.14.3"] | |
| os: [macos-26-intel] | |
| env: | |
| TERM: xterm-color | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: make lib-test | |
| - run: make modules-test | |
| - run: make docs-test | |
| - run: make examples-test | |
| - run: make corner-test | |
| source-code-test: | |
| name: "Source code" | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.7.17" | |
| - run: make deps-dev | |
| - run: make format-test | |
| github-pages-test: | |
| name: "Github Pages test" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.4" | |
| - run: make index-links-test | |
| - run: ./test/github-pages.sh | |
| lang-python-test: | |
| name: "Lang Python test (ver: ${{ matrix.python-version }}) (os: ${{ matrix.os }})" | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| python-version: ["3.11.15", "3.12.13", "3.13.12", "3.14.3"] | |
| os: [ubuntu-24.04] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: make lang-python-test | |
| lang-iasm-test: | |
| name: "Lang iasm test (ver: latest) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, macos-26-intel] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.7.17" | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: pip install iasm | |
| - run: make lang-iasm-test | |
| lang-pwsh-test: | |
| name: "Lang PowerShell test (ver: latest) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, macos-26-intel] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.7.17" | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: make lang-pwsh-test | |
| lang-ruby-test: | |
| name: "Lang Ruby test (ver: ${{ matrix.ruby-version }}) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| ruby-version: ["2.4", "2.5", "2.6", "2.7", "3.0", "3.1"] | |
| os: [ubuntu-22.04, macos-26-intel] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.7.17" | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: make lang-ruby-test | |
| lang-shell-test: | |
| name: "Lang Shell test (ver: latest) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04, macos-26-intel] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.7.17" | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: make lang-shell-test | |
| lang-javascript-test: | |
| name: "Lang Javascript test (ver: ${{ matrix.node-version }}) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node-version: [10.x, 12.x, 14.x, 15.x, 16.x] | |
| os: [ubuntu-22.04, macos-26-intel] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.7.17" | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: make lang-javascript-test | |
| lang-go-test: | |
| name: "Lang Go test (ver: ${{ matrix.go-version.go }}) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| go-version: [{go: "1.19", yaegi: "v0.14.0"}, {go: "1.18", yaegi: "v0.14.0"}, {go: "1.17", yaegi: "v0.13.0"}, {go: "1.16", yaegi: "v0.13.0"}] | |
| os: [ubuntu-22.04, macos-26-intel] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.7" | |
| - name: Setup go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go-version.go }} | |
| - run: go version | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: go install github.com/traefik/yaegi/cmd/yaegi@${{ matrix.go-version.yaegi }} | |
| - run: PATH=$PATH:$(go env GOPATH)/bin make lang-go-test | |
| lang-java-test: | |
| name: "Lang Java test (ver: ${{ matrix.java }}) (os: ${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| java: [ '11', '13', '15' ] | |
| os: [ubuntu-22.04, macos-26-intel] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.7" | |
| - name: Setup java | |
| uses: actions/setup-java@v2 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.java }} | |
| - run: make deps-dev | |
| - run: make install-from-pkg-tgz | |
| - run: make lang-java-test |