|
1 | 1 | name: PyGAD PyTest / Python 3.12
|
2 | 2 |
|
3 | | -# Cannot install packages in Python 3.12. |
4 | | -# The reason is that we use pip for installing packages. |
5 | | -# pip uses setuptools for the installation. |
6 | | -# setuptools depends on distutils. |
7 | | -# But Python 3.12 does not support distutils. |
8 | | -# Let's wait until setuptools changes its dependencies. |
9 | | - |
10 | | -# on: |
11 | | -# push: |
12 | | -# branches: |
13 | | - # - github-actions |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - github-actions |
14 | 7 | # - master
|
15 | | -on: workflow_dispatch |
| 8 | + # Manually trigger the workflow. |
| 9 | + workflow_dispatch: |
16 | 10 |
|
17 | 11 | jobs:
|
18 | 12 | job_id_1:
|
|
26 | 20 | - name: Setup Python 3.12
|
27 | 21 | uses: actions/setup-python@v4
|
28 | 22 | with:
|
29 | | - python-version: '3.12.0-beta.2' |
| 23 | + python-version: '3.12' |
30 | 24 |
|
31 | 25 | - name: Install Dependencies
|
32 | 26 | run: |
|
|
0 commit comments