mirror of
https://github.com/chatmail/core.git
synced 2026-05-09 01:46:30 +03:00
ci: move remote python tests from CircleCI to GitHub Actions
This commit is contained in:
@@ -35,12 +35,6 @@ jobs:
|
|||||||
- py-docs
|
- py-docs
|
||||||
- wheelhouse
|
- wheelhouse
|
||||||
|
|
||||||
remote_tests_python:
|
|
||||||
machine: true
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: ci_scripts/remote_tests_python.sh
|
|
||||||
|
|
||||||
upload_docs_wheels:
|
upload_docs_wheels:
|
||||||
machine: true
|
machine: true
|
||||||
steps:
|
steps:
|
||||||
@@ -55,11 +49,6 @@ workflows:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
jobs:
|
jobs:
|
||||||
- remote_tests_python:
|
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /.*/
|
|
||||||
|
|
||||||
- remote_python_packaging:
|
- remote_python_packaging:
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
|
|||||||
20
.github/workflows/remote_tests.yml
vendored
Normal file
20
.github/workflows/remote_tests.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user