ci: move remote python tests from CircleCI to GitHub Actions

This commit is contained in:
link2xt
2021-04-11 04:48:14 +03:00
committed by link2xt
parent f0bd129636
commit ce4675e9f7
2 changed files with 20 additions and 11 deletions

20
.github/workflows/remote_tests.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Remote tests
on: [push]
jobs:
remote_tests_python:
name: Remote Python tests
runs-on: ubuntu-latest
env:
CIRCLE_BRANCH: ${{ github.ref }}
CIRCLE_JOB: remote_tests_python
CIRCLE_BUILD_NUM: ${{ github.run_number }}
steps:
- uses: actions/checkout@v2
- run: mkdir -m 700 -p ~/.ssh
- run: touch ~/.ssh/id_ed25519
- run: chmod 600 ~/.ssh/id_ed25519
- run: 'echo "$SSH_KEY" | base64 -d > ~/.ssh/id_ed25519'
shell: bash
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
- run: ci_scripts/remote_tests_python.sh