| 1 |
--- |
| 2 |
name: Install |
| 3 |
on: # yamllint disable-line rule:truthy |
| 4 |
schedule: |
| 5 |
- cron: 21 08 * * * |
| 6 |
workflow_dispatch: |
| 7 |
|
| 8 |
jobs: |
| 9 |
Install: |
| 10 |
runs-on: ubuntu-latest |
| 11 |
strategy: |
| 12 |
max-parallel: 4 |
| 13 |
matrix: |
| 14 |
python-version: [3.8, 3.9, '3.10', '3.11'] |
| 15 |
steps: |
| 16 |
- uses: actions/checkout@v1 |
| 17 |
- name: Set up Python ${{ matrix.python-version }} |
| 18 |
uses: actions/setup-python@v1 |
| 19 |
with: |
| 20 |
python-version: ${{ matrix.python-version }} |
| 21 |
- name: Install the program |
| 22 |
run: pip install autoimport |
| 23 |
- name: Test the program works |
| 24 |
run: autoimport --version |