-
Notifications
You must be signed in to change notification settings - Fork 2
30 lines (30 loc) · 806 Bytes
/
Copy pathssh-linux.yml
File metadata and controls
30 lines (30 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: SSH-Linux
on:
watch:
types: started
jobs:
SSH:
name: Run on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 1
matrix:
python-version: [3.6]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python 2.7
uses: actions/setup-python@v1
with:
python-version: 2.7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: SSH connection to Actions
run: |
python -m tmate --wait-timeout=600