Skip to content

Commit 76490f1

Browse files
committed
!squash docs topics
1 parent 6db76dc commit 76490f1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/topics/automation.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
### 3. Continuous Integration Pipeline
1+
# Continuous Integration
2+
3+
## General example
24

35
Set up a comprehensive continuous integration pipeline using libtmux:
46

@@ -88,11 +90,7 @@ if __name__ == "__main__":
8890
print(f"Pipeline stages: {[w.window_name for w in session.windows]}")
8991
```
9092

91-
### Integration with Other Tools
92-
93-
Libtmux can be easily integrated with other tools and frameworks to create powerful automation systems.
94-
95-
### 1. Integration with Fabric for Remote Deployment
93+
## Integration with Fabric for Remote Deployment
9694

9795
```python
9896
import libtmux
@@ -162,7 +160,7 @@ def deploy_to_environment(session, environment, server_host):
162160
# and then capture and display the output in the tmux panes
163161
```
164162

165-
### 2. Integration with Pytest for Test Automation
163+
## 2. Integration with Pytest for Test Automation
166164

167165
Libtmux works well with pytest to automate testing across multiple environments:
168166

@@ -233,3 +231,4 @@ def run_tests_on_version(session, version, test_path=None):
233231

234232
test_pane.send_keys(f"echo 'Running: {test_command}'", enter=True)
235233
output_pane.send_keys(f"{test_command} | tee test_output.log", enter=True)
234+
```

0 commit comments

Comments
 (0)