Skip to content

Commit 6bbd702

Browse files
committed
move handler to same job
1 parent 47ee851 commit 6bbd702

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,16 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10-
strategy:
11-
fail-fast: false
12-
matrix:
13-
python-version: ["3.9", "3.10", "3.11"]
1410

1511
steps:
1612
- uses: actions/checkout@v4
17-
- name: Set up Python ${{ matrix.python-version }}
13+
- name: Set up Python 3.10
1814
uses: actions/setup-python@v3
1915
with:
20-
python-version: ${{ matrix.python-version }}
16+
python-version: "3.10"
2117
- name: Install dependencies
2218
run: |
2319
python -m pip install --upgrade pip
2420
python -m pip install flake8 pytest
2521
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26-
27-
run-main:
28-
runs-on: ubuntu-latest
29-
needs: build
30-
31-
steps:
32-
- uses: actions/checkout@v4
33-
- name: Set up Python
34-
uses: actions/setup-python@v3
35-
with:
36-
python-version: "3.10" # Specify one Python version for `run-main`
37-
- name: Run main handler
38-
run: |
39-
pip list
4022
python code/main_handler.py all

0 commit comments

Comments
 (0)