Skip to content

Commit ec58a0d

Browse files
authored
Remove testing pipeline
1 parent bd83a3a commit ec58a0d

File tree

1 file changed

+47
-48
lines changed

1 file changed

+47
-48
lines changed

.github/workflows/generate-release-tag.yml

+47-48
Original file line numberDiff line numberDiff line change
@@ -4,57 +4,56 @@ on:
44
types: [create-release-tag]
55

66
jobs:
7-
testing:
8-
runs-on: ubuntu-latest
9-
strategy:
10-
matrix:
11-
python-version: ["3.10","3.11","3.12"]
12-
steps:
13-
- uses: actions/checkout@v3
14-
15-
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v4
17-
with:
18-
python-version: ${{ matrix.python-version }}
19-
cache: 'pip'
20-
21-
- name: Print python version
22-
run: python --version
23-
24-
- name: Install dependencies
25-
run: pip install -r requirements.txt
26-
27-
- name: Run test
28-
run: DEVELOPMENT_API_KEY=${{ secrets.DEVELOPMENT_API_KEY }} pytest -s --log-cli-level=DEBUG
29-
30-
send-test-result:
31-
name: Slack Notification
32-
needs: [testing]
33-
if: always() && (needs.testing.result == 'success' || needs.testing.result == 'failure')
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@v3
37-
38-
- name: Set Slack Color
39-
id: set_color
40-
run: |
41-
if [ "${{ needs.testing.result }}" == "success" ]; then
42-
echo "color=good" >> $GITHUB_ENV
43-
else
44-
echo "color=danger" >> $GITHUB_ENV
45-
fi
46-
47-
- name: Send Slack Notification
48-
uses: rtCamp/action-slack-notify@v2
49-
env:
50-
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
51-
SLACK_TITLE: "[xendi-python] CI pipeline for ${{ github.event.client_payload.version }}"
52-
SLACK_MESSAGE: 'Test Result: ${{ needs.testing.result }}'
53-
SLACK_COLOR: ${{ steps.set_color.outputs.color }}
7+
# testing:
8+
# runs-on: ubuntu-latest
9+
# strategy:
10+
# matrix:
11+
# python-version: ["3.10","3.11","3.12"]
12+
# steps:
13+
# - uses: actions/checkout@v3
14+
15+
# - name: Set up Python ${{ matrix.python-version }}
16+
# uses: actions/setup-python@v4
17+
# with:
18+
# python-version: ${{ matrix.python-version }}
19+
# cache: 'pip'
20+
21+
# - name: Print python version
22+
# run: python --version
23+
24+
# - name: Install dependencies
25+
# run: pip install -r requirements.txt
26+
27+
# - name: Run test
28+
# run: DEVELOPMENT_API_KEY=${{ secrets.DEVELOPMENT_API_KEY }} pytest -s --log-cli-level=DEBUG
29+
30+
# send-test-result:
31+
# name: Slack Notification
32+
# needs: [testing]
33+
# if: always() && (needs.testing.result == 'success' || needs.testing.result == 'failure')
34+
# runs-on: ubuntu-latest
35+
# steps:
36+
# - uses: actions/checkout@v3
37+
38+
# - name: Set Slack Color
39+
# id: set_color
40+
# run: |
41+
# if [ "${{ needs.testing.result }}" == "success" ]; then
42+
# echo "color=good" >> $GITHUB_ENV
43+
# else
44+
# echo "color=danger" >> $GITHUB_ENV
45+
# fi
46+
47+
# - name: Send Slack Notification
48+
# uses: rtCamp/action-slack-notify@v2
49+
# env:
50+
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
51+
# SLACK_TITLE: "[xendi-python] CI pipeline for ${{ github.event.client_payload.version }}"
52+
# SLACK_MESSAGE: 'Test Result: ${{ needs.testing.result }}'
53+
# SLACK_COLOR: ${{ steps.set_color.outputs.color }}
5454

5555
publish-release-tag:
5656
runs-on: ubuntu-latest
57-
needs: [testing]
5857
steps:
5958
- uses: actions/checkout@v3
6059

0 commit comments

Comments
 (0)