diff --git a/.circleci/config.yml b/.circleci/config.yml index 9320df49b..2739e1ec1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,12 +35,6 @@ jobs: - py-docs - wheelhouse - remote_tests_python: - machine: true - steps: - - checkout - - run: ci_scripts/remote_tests_python.sh - upload_docs_wheels: machine: true steps: @@ -55,11 +49,6 @@ workflows: test: jobs: - - remote_tests_python: - filters: - tags: - only: /.*/ - - remote_python_packaging: filters: branches: diff --git a/.github/workflows/remote_tests.yml b/.github/workflows/remote_tests.yml new file mode 100644 index 000000000..bd2c00270 --- /dev/null +++ b/.github/workflows/remote_tests.yml @@ -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