| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ name: test-alpine | |||
| 3 | 3 | on: [push, pull_request, workflow_dispatch] | |
| 4 | 4 | ||
| 5 | 5 | jobs: | |
| 6 | - build: | ||
| 6 | + test: | ||
| 7 | 7 | runs-on: ubuntu-latest | |
| 8 | 8 | ||
| 9 | 9 | container: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ name: test-cygwin | |||
| 3 | 3 | on: [push, pull_request, workflow_dispatch] | |
| 4 | 4 | ||
| 5 | 5 | jobs: | |
| 6 | - build: | ||
| 6 | + test: | ||
| 7 | 7 | runs-on: windows-latest | |
| 8 | 8 | ||
| 9 | 9 | strategy: | |
@@ -30,7 +30,7 @@ jobs: | |||
| 30 | 30 | - name: Set up Cygwin | |
| 31 | 31 | uses: egor-tensin/setup-cygwin@v4 | |
| 32 | 32 | with: | |
| 33 | - packages: python39=3.9.16-1 python39-pip python39-virtualenv git | ||
| 33 | + packages: python39 python39-pip python39-virtualenv git | ||
| 34 | 34 | ||
| 35 | 35 | - name: Arrange for verbose output | |
| 36 | 36 | run: | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,23 +9,24 @@ permissions: | |||
| 9 | 9 | contents: read | |
| 10 | 10 | ||
| 11 | 11 | jobs: | |
| 12 | - build: | ||
| 12 | + test: | ||
| 13 | 13 | strategy: | |
| 14 | 14 | matrix: | |
| 15 | - os: [ubuntu-latest, macos-latest, windows-latest] | ||
| 16 | - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
| 17 | - include: | ||
| 18 | - - experimental: false | ||
| 19 | - - os: ubuntu-22.04 | ||
| 15 | + os-type: [ubuntu, macos, windows] | ||
| 16 | + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
| 17 | + exclude: | ||
| 18 | + - os-type: macos | ||
| 20 | 19 | python-version: "3.7" | |
| 21 | - experimental: false | ||
| 22 | - - os: windows-latest | ||
| 20 | + include: | ||
| 21 | + - os-ver: latest | ||
| 22 | + - os-type: ubuntu | ||
| 23 | 23 | python-version: "3.7" | |
| 24 | - experimental: false | ||
| 24 | + os-ver: "22.04" | ||
| 25 | + - experimental: false | ||
| 25 | 26 | ||
| 26 | 27 | fail-fast: false | |
| 27 | 28 | ||
| 28 | - runs-on: ${{ matrix.os }} | ||
| 29 | + runs-on: ${{ matrix.os-type }}-${{ matrix.os-ver }} | ||
| 29 | 30 | ||
| 30 | 31 | defaults: | |
| 31 | 32 | run: | |
@@ -43,7 +44,7 @@ jobs: | |||
| 43 | 44 | allow-prereleases: ${{ matrix.experimental }} | |
| 44 | 45 | ||
| 45 | 46 | - name: Set up WSL (Windows) | |
| 46 | - if: startsWith(matrix.os, 'windows') | ||
| 47 | + if: matrix.os-type == 'windows' | ||
| 47 | 48 | uses: Vampire/setup-wsl@v4.0.0 | |
| 48 | 49 | with: | |
| 49 | 50 | distribution: Alpine | |
@@ -80,7 +81,7 @@ jobs: | |||
| 80 | 81 | ||
| 81 | 82 | # For debugging hook tests on native Windows systems that may have WSL. | |
| 82 | 83 | - name: Show bash.exe candidates (Windows) | |
| 83 | - if: startsWith(matrix.os, 'windows') | ||
| 84 | + if: matrix.os-type == 'windows' | ||
| 84 | 85 | run: | | |
| 85 | 86 | set +e | |
| 86 | 87 | bash.exe -c 'printenv WSL_DISTRO_NAME; uname -a' | |
| Back | FazBrowse Home | New Git URL |
0 commit comments