comparison .github/workflows/ci-test.yml @ 7109:561c66232347

Merge
author Ralf Schlatterbeck <rsc@runtux.com>
date Thu, 08 Dec 2022 11:18:46 +0100
parents 8e2219abbde3
children 890b55c374a3
comparison
equal deleted inserted replaced
7108:b26207712c2b 7109:561c66232347
1 # merged in python-package.yml workflow 1 # merged in python-package.yml workflow
2 2
3 # reference docs: 3 # reference docs:
4 # https://blog.deepjyoti30.dev/tests-github-python 4 # https://blog.deepjyoti30.dev/tests-github-python
5 # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python 5 # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
6 # 6 # https://github.com/pypa/twine/blob/main/.github/workflows/main.yml
7
7 name: roundup-ci 8 name: roundup-ci
8 9
9 on: 10 on:
10 push: 11 push:
11 # skip if github.ref is 'refs/heads/maint-1.6' 12 # skip if github.ref is 'refs/heads/maint-1.6'
42 strategy: 43 strategy:
43 fail-fast: false 44 fail-fast: false
44 max-parallel: 4 45 max-parallel: 4
45 matrix: 46 matrix:
46 # Run in all these versions of Python 47 # Run in all these versions of Python
47 python-version: [ "2.7", "3.10", "3.9", "3.8", "3.6", "3.11-dev" ] 48 python-version:
49 - "2.7"
50 - "3.10"
51 - "3.9"
52 - "3.8"
53 - "3.7"
54 - "3.11"
48 55
49 # use for multiple os or ubuntu versions 56 # use for multiple os or ubuntu versions
50 #os: [ubuntu-latest, macos-latest, windows-latest] 57 #os: [ubuntu-latest, macos-latest, windows-latest]
51 os: [ubuntu-latest, ubuntu-22.04] 58 # ubuntu latest 22.04 12/2022
59 os: [ubuntu-latest, ubuntu-20.04]
52 60
53 # if the ones above fail. fail the build 61 # if the ones above fail. fail the build
54 experimental: [false] 62 experimental: [false]
55 63
56 include: 64 include:
57 # example: if 3.12 fails the jobs still succeeds 65 # example: if 3.12 fails the jobs still succeeds
58 # - python-version: 3.12 66 - python-version: 3.12-dev
59 # experimental: [true]
60 # version 2.7 not available on unbuntu-22.04 github
61 # - python-version: 2.7
62 # os: ubuntu-22.04
63 # experimental: true
64 - python-version: 3.11-dev
65 os: ubuntu-22.04 67 os: ubuntu-22.04
66 experimental: [true] 68 experimental: [true]
69 - python-version: 3.11-dev
70 os: ubuntu-20.04
71 # 3.6 not available on new 22.04 runners, so run on 20.04 ubuntu
72 - python-version: 3.6
73 os: ubuntu-20.04
67 74
68 exclude: 75 exclude:
69 # skip all python versions on 22.04 except explicitly included 76 # skip all python versions on 20.04 except explicitly included
70 - os: ubuntu-22.04 77 - os: ubuntu-20.04
71 78
72 env: 79 env:
73 # get colorized pytest output even without a controlling tty 80 # get colorized pytest output even without a controlling tty
74 PYTEST_ADDOPTS: "--color=yes" 81 PYTEST_ADDOPTS: "--color=yes"
75 # OS: ${{ matrix.os }} 82 # OS: ${{ matrix.os }}

Roundup Issue Tracker: http://roundup-tracker.org/