Skip to content

Commit 2241c4a

Browse files
committed
Tests in biobb_common 5.0.1
1 parent 7c84028 commit 2241c4a

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ channels:
44
- bioconda
55
- anaconda
66
dependencies:
7-
- biobb_common ==5.0.0
7+
- biobb_common ==5.0.1
88
- godmd ==1.0.0
99
- emboss

.github/workflows/pr-tests.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@ jobs:
6969
pytest biobb_godmd/test/unitests/ --ignore-glob=*container.py --ignore-glob=*docker.py --ignore-glob=*singularity.py
7070
7171
# Notify user about test results
72-
- name: Comment on PR
73-
if: always() # This ensures the step runs even if tests fail
74-
uses: actions/github-script@v6
75-
with:
76-
script: |
77-
const { payload, repo } = context; // Access GitHub context
78-
const prNumber = payload.pull_request.number;
79-
const jobStatus = '${{ job.status }}'; // Get job status (success/failure)
80-
const testStatus = jobStatus === 'success' ? '✅ Tests Passed!' : '❌ Tests Failed.';
72+
# - name: Comment on PR
73+
# if: always() # This ensures the step runs even if tests fail
74+
# uses: actions/github-script@v6
75+
# with:
76+
# script: |
77+
# const { payload, repo } = context; // Access GitHub context
78+
# const prNumber = payload.pull_request.number;
79+
# const jobStatus = '${{ job.status }}'; // Get job status (success/failure)
80+
# const testStatus = jobStatus === 'success' ? '✅ Tests Passed!' : '❌ Tests Failed.';
8181

82-
await github.rest.issues.createComment({
83-
owner: repo.owner,
84-
repo: repo.repo,
85-
issue_number: prNumber,
86-
body: `**Test Results for PR #${prNumber}**\n\n${testStatus}`
87-
});
82+
# await github.rest.issues.createComment({
83+
# owner: repo.owner,
84+
# repo: repo.repo,
85+
# issue_number: prNumber,
86+
# body: `**Test Results for PR #${prNumber}**\n\n${testStatus}`
87+
# });

0 commit comments

Comments
 (0)