Skip to content

Commit ebdd79c

Browse files
authored
Create fiber-testnet.yml
1 parent 537c83e commit ebdd79c

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: fiber testnet test
5+
6+
on:
7+
workflow_dispatch:
8+
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
build:
15+
16+
runs-on: ubuntu-22.04
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python 3.10
21+
uses: actions/setup-python@v3
22+
with:
23+
python-version: "3.10"
24+
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
30+
- name: Install dependencies
31+
run: make prepare_fiber_testnet
32+
33+
- name: Run tests
34+
run: make fiber_testnet_test
35+
36+
# - name: Setup upterm session
37+
# if: always()
38+
# uses: lhotari/action-upterm@v1
39+
40+
- name: Publish reports
41+
if: failure()
42+
uses: actions/upload-artifact@v4
43+
with:
44+
name: jfoa-build-reports-${{ runner.os }}
45+
path: ./report

0 commit comments

Comments
 (0)