Skip to content

Commit 702184e

Browse files
committed
ci: add Python workflow and align README with renamed repository
1 parent 627432e commit 702184e

2 files changed

Lines changed: 33 additions & 1 deletion

File tree

.github/workflows/python-app.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Python application
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python-version:
16+
- "3.10"
17+
- "3.11"
18+
19+
steps:
20+
- name: Check out repository
21+
uses: actions/checkout@v4
22+
23+
- name: Set up Python
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
28+
- name: Validate Python syntax
29+
run: python -m py_compile socket_eagain_error_handling.py
30+
31+
- name: Smoke test CLI
32+
run: python socket_eagain_error_handling.py >/dev/null || true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Socket_EAGAIN_Error
1+
# python-socket-eagain-handling
22

33
This repository explains what the `EAGAIN` socket error means in Python and demonstrates a safer way to handle it.
44

0 commit comments

Comments
 (0)