Skip to content

Commit

Permalink
[CI]
Browse files Browse the repository at this point in the history
Signed-off-by: turuslan <[email protected]>
  • Loading branch information
turuslan committed Feb 1, 2024
1 parent 6e5fa3c commit 182395c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 438 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/autotests.yml
Original file line number Diff line number Diff line change
@@ -1,48 +0,0 @@
#
# Copyright Quadrivium LLC
# All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#

name: Autotests

on:
repository_dispatch:
types: [ autotests ]

jobs:
autotests:
runs-on: ubuntu-latest
container: soramitsu/kagome-autotests:latest
steps:
- name: Set commit status as pending
uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: pending
context: Autotests
sha: ${{ github.sha }}
- name: Run autotests
working-directory: /kagome-autotests
run: python3 -m pytest
shell: sh
- name: Set commit status as failure
if: failure()
uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: failure
context: Autotests
sha: ${{ github.sha }}
- name: Set commit status as success
if: success()
uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a
with:
token: ${{ secrets.GITHUB_TOKEN }}
status: success
context: Autotests
sha: ${{ github.sha }}
env:
KAGOME_S1: ${{ secrets.KAGOME_S1 }}
SUBSTRATE_S2: ${{ secrets.SUBSTRATE_S2 }}
ALICE_ED: ${{ secrets.ALICE_ED }}
Loading

0 comments on commit 182395c

Please sign in to comment.