Skip to content

Commit 674cb0a

Browse files
authored
Merge pull request #506 from Chisanan232/develop/config
[CU-86et8ancz] Fix issue template setting and incorrect project naming issues
2 parents d5252a0 + 9e17f1a commit 674cb0a

8 files changed

Lines changed: 17 additions & 19 deletions

File tree

.github/ISSUE_TEMPLATE/reporting-a-bug.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ body:
2020
label: Python version
2121
description: What Python version do you use to run and see the problem?
2222
options:
23+
- 3.13
24+
- 3.12
2325
- 3.11
2426
- 3.10
2527
- 3.9
26-
- 3.8
2728
validations:
2829
required: true
2930

.github/ISSUE_TEMPLATE/request-a-feature-or-change.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Request a feature or change
2-
description: Have some idea for PyMock-Server? Welcome to request a feature or change
2+
description: Have some idea for PyFake-API-Server? Welcome to request a feature or change
33
labels: ["🔍 enhancement"]
44
body:
55

.github/workflows/action-e2e-test.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Clone project
4141
uses: actions/checkout@v4
4242

43-
- name: Run Fake-API-Server
43+
- name: Run Fake-API-Server with RestFUL server & subcommand line *run*
4444
uses: ./
4545
with:
4646
server-type: 'rest-server'
@@ -65,7 +65,7 @@ jobs:
6565
- name: Clone project
6666
uses: actions/checkout@v4
6767

68-
- name: Run Fake-API-Server
68+
- name: Run Fake-API-Server with RestFUL server & subcommand line *run*
6969
uses: ./
7070
with:
7171
server-type: 'rest-server'
@@ -89,7 +89,7 @@ jobs:
8989
- name: Clone project
9090
uses: actions/checkout@v4
9191

92-
- name: Run Fake-API-Server
92+
- name: Run Fake-API-Server with RestFUL server & subcommand line *run*
9393
uses: ./
9494
with:
9595
directly-command-line: 'rest-server run --app-type fastapi -c ./test/data/divide_test_pull/divide_api+has_tag/expect_config/api.yaml -b 127.0.0.1:9672 -D'
@@ -111,7 +111,7 @@ jobs:
111111
- name: Clone project
112112
uses: actions/checkout@v4
113113

114-
- name: Run Fake-API-Server
114+
- name: Run Fake-API-Server with RestFUL server & subcommand line *get*
115115
uses: ./
116116
with:
117117
server-type: 'rest-server'
@@ -124,7 +124,7 @@ jobs:
124124
- name: Clone project
125125
uses: actions/checkout@v4
126126

127-
- name: Run Fake-API-Server
127+
- name: Run Fake-API-Server with RestFUL server & subcommand line *add*
128128
uses: ./
129129
with:
130130
server-type: 'rest-server'
@@ -137,7 +137,7 @@ jobs:
137137
- name: Clone project
138138
uses: actions/checkout@v4
139139

140-
- name: Run Fake-API-Server
140+
- name: Run Fake-API-Server with RestFUL server & subcommand line *sample*
141141
uses: ./
142142
with:
143143
server-type: 'rest-server'
@@ -150,7 +150,7 @@ jobs:
150150
- name: Clone project
151151
uses: actions/checkout@v4
152152

153-
- name: Run Fake-API-Server
153+
- name: Run Fake-API-Server with RestFUL server & subcommand line *check*
154154
uses: ./
155155
with:
156156
server-type: 'rest-server'
@@ -163,7 +163,7 @@ jobs:
163163
- name: Clone project
164164
uses: actions/checkout@v4
165165

166-
- name: Run Fake-API-Server
166+
- name: Run Fake-API-Server with RestFUL server & subcommand line *pull*
167167
uses: ./
168168
with:
169169
server-type: 'rest-server'
@@ -176,7 +176,7 @@ jobs:
176176
- name: Clone project
177177
uses: actions/checkout@v4
178178

179-
- name: Run Fake-API-Server-Surveillance
179+
- name: Run Fake-API-Server with invalid OS
180180
id: e2e-test-invalid-case
181181
uses: ./
182182
with:

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# 3. Push the Docker image to Docker hub
1010
#
1111
# Trigger condition:
12-
# This CI workflow only be triggered by changing the package info module (__pkg_info__.py) of *PyMock-Server*.
12+
# This CI workflow only be triggered by changing the package info module (__pkg_info__.py) of *PyFake-API-Server*.
1313
#
1414

1515
name: docker

.github/workflows/documentation.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ on:
1818
- "**/__pkg_info__.py"
1919

2020
env:
21-
DOCKER_ACCOUNT: chisanan232
22-
DOCKER_IMAGE_NAME: pymock-server
23-
# DOCKER_IMAGE_NAME: test # For testing
2421
RELEASE_TYPE: python-package
2522
PYTHON_PACKAGE_NAME: fake_api_server
2623
SOFTWARE_VERSION_FORMAT: general-3

.github/workflows/rw_checking_deployment_state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
python-version: "3.13"
4141

42-
- name: Install PyMock-Server from PyPI
42+
- name: Install PyFake-API-Server from PyPI
4343
run: |
4444
python3 -m pip install --upgrade pip
4545
pip3 install -U pip

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Build and run web server for mocking APIs
55
#
66
# Environment variables:
7-
# * WEB_FRAMEWORK: PyMock-Server would use the Python web framework to set up and run web server to mock APIs.
7+
# * WEB_FRAMEWORK: PyFake-API-Server would use the Python web framework to set up and run web server to mock APIs.
88
# - Default values: 'auto'. It means that it would automatically scan which Python package it could use in the
99
# currenct Python runtime environment.
1010
# - Allowable values: 'auto', 'flask', 'fastapi'
@@ -43,7 +43,7 @@ COPY . /mit-pyfake-api-server/
4343
# # Expose the port to outside to provide service
4444
EXPOSE 9672
4545

46-
# # Install the Python dependencies for PyMock-Server package
46+
# # Install the Python dependencies for PyFake-API-Server package
4747
RUN poetry install --without dev
4848
# # It already in a virtual runtime environment --- a Docker container, so it doesn't need to create another independent
4949
# # virtual enviroment again in Docker virtual environment

scripts/run_all_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
set -exm
2020
testing_type=$1
21-
echo "⚙️ It would run the '$testing_type' of the Python package PyMock-Server."
21+
echo "⚙️ It would run the '$testing_type' of the Python package PyFake-API-Server."
2222

2323
echo "🔍 Get the testing items ... ⏳"
2424

0 commit comments

Comments
 (0)