Skip to content

Commit 955b31d

Browse files
committed
temprarily disable test CI job
1 parent c60a6d7 commit 955b31d

File tree

3 files changed

+14
-43
lines changed

3 files changed

+14
-43
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
jobs:
99
deploy-to-dockerhub:
1010
runs-on: ubuntu-latest
11-
if: github.event.workflow_run.conclusion == 'success'
11+
# if: github.event.workflow_run.conclusion == 'success'
12+
# DISABLE FOR REWRITE
13+
if: false
1214
steps:
1315
- uses: actions/checkout@v4
1416
- name: Set up QEMU

.github/workflows/publish-dist.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ jobs:
66
build:
77
name: Build distribution 📦
88
runs-on: ubuntu-latest
9-
109
steps:
1110
- uses: actions/checkout@v4
1211
- name: Set up Python
@@ -30,7 +29,9 @@ jobs:
3029
publish-to-pypi:
3130
name: >-
3231
Publish Python 🐍 distribution 📦 to PyPI
33-
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
32+
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
33+
# DISABLE FOR REWRITE
34+
if: false
3435
needs:
3536
- build
3637
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,23 @@ on:
77
- main
88

99
jobs:
10-
# ruff:
11-
# runs-on: ubuntu-latest
12-
# steps:
13-
# - uses: actions/checkout@v4
14-
# - uses: chartboost/ruff-action@v1
15-
# with:
16-
# args: 'check .'
17-
ruff-format:
10+
ruff:
1811
runs-on: ubuntu-latest
1912
steps:
2013
- uses: actions/checkout@v4
2114
- uses: chartboost/ruff-action@v1
2215
with:
23-
args: 'format --check .'
24-
build-image:
25-
# needs: [ruff, ruff-format]
26-
needs: [ruff-format]
16+
args: 'check .'
17+
ruff-format:
2718
runs-on: ubuntu-latest
2819
steps:
29-
- name: Checkout
30-
uses: actions/checkout@v4
31-
32-
- name: Set up Docker Buildx
33-
uses: docker/setup-buildx-action@v3
34-
35-
- name: Build and export
36-
uses: docker/build-push-action@v5
37-
with:
38-
file: resources/images/rpc/Dockerfile_prod
39-
context: .
40-
tags: warnet/dev
41-
cache-from: type=gha
42-
cache-to: type=gha,mode=max
43-
outputs: type=docker,dest=/tmp/warnet.tar
44-
45-
- name: Upload artifact
46-
uses: actions/upload-artifact@v4
20+
- uses: actions/checkout@v4
21+
- uses: chartboost/ruff-action@v1
4722
with:
48-
name: warnet
49-
path: /tmp/warnet.tar
23+
args: 'format --check .'
5024
test:
51-
needs: [build-image]
25+
# DISABLE FOR REWRITE
26+
if: false
5227
runs-on: ubuntu-latest
5328
strategy:
5429
matrix:
@@ -102,10 +77,3 @@ jobs:
10277
run: |
10378
source .venv/bin/activate
10479
./test/${{matrix.test}}
105-
# build-test:
106-
# needs: [build-image]
107-
# runs-on: ubuntu-latest
108-
# steps:
109-
# - uses: actions/checkout@v4
110-
# - uses: ./.github/actions/compose
111-
# - run: ./test/build_branch_test.py compose

0 commit comments

Comments
 (0)