From 45eb5d9591167b1c9cee54bf365870ff4f4ce902 Mon Sep 17 00:00:00 2001 From: drunkdream Date: Mon, 5 Oct 2020 09:19:35 +0800 Subject: [PATCH] Update --- .github/workflows/ssh.yml | 49 +++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ssh.yml b/.github/workflows/ssh.yml index 294ff36..602961a 100644 --- a/.github/workflows/ssh.yml +++ b/.github/workflows/ssh.yml @@ -1,23 +1,26 @@ -name: SSH-Test -on: - watch: - types: started -jobs: - SSH: - name: Run on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - max-parallel: 4 - matrix: - python-version: [3.6] - os: [ubuntu-latest, windows-latest, macOS-latest] - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - name: SSH connection to Actions - run: | - python -m pip install -r requirements.txt - python -m tmate \ No newline at end of file +name: SSH-Test +on: + watch: + types: started +jobs: + SSH: + name: Run on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + max-parallel: 4 + matrix: + python-version: [3.6] + os: [ubuntu-latest, windows-latest, macOS-latest] + steps: + - uses: actions/checkout@v2 + - 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