Skip to content

Commit c8d52f1

Browse files
ci: disable automated pytest runs (wip)
1 parent e563c83 commit c8d52f1

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ on:
2020
- '.env.example'
2121
- '.github/workflows/**'
2222
- 'static/**'
23-
workflow_run:
24-
workflows: ["Run pytest"]
25-
types:
26-
- completed
23+
# workflow_run:
24+
# workflows: ["Run pytest"]
25+
# types:
26+
# - completed
2727

2828
env:
2929
REGISTRY_URL: ghcr.io
@@ -33,9 +33,9 @@ env:
3333
jobs:
3434
push_to_registry:
3535
name: Push Docker image to container registry
36-
if: |
37-
(github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))) ||
38-
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
36+
# if: |
37+
# (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))) ||
38+
# (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
3939
runs-on: ubuntu-latest
4040
strategy:
4141
matrix:

.github/workflows/pytest.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: Run pytest in Docker
1+
name: Run pytest
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
- master
8-
paths:
9-
- '**/*.py'
10-
pull_request:
11-
branches:
12-
- main
13-
- master
14-
paths:
15-
- '**/*.py'
4+
# push:
5+
# branches:
6+
# - main
7+
# - master
8+
# paths:
9+
# - '**/*.py'
10+
# pull_request:
11+
# branches:
12+
# - main
13+
# - master
14+
# paths:
15+
# - '**/*.py'
1616
workflow_dispatch:
1717

1818
jobs:

0 commit comments

Comments
 (0)