Skip to content

Commit 5063a3c

Browse files
committed
tests complete testing workflow only with fastqc
1 parent 14030c2 commit 5063a3c

File tree

2 files changed

+19
-38
lines changed

2 files changed

+19
-38
lines changed

.github/actions/run-ansible-playbook/action.yaml

Lines changed: 18 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ runs:
88
- name: Checkout
99
uses: actions/checkout@v3
1010

11-
# - name: Make SSH connection
12-
# shell: bash
13-
# run: |
14-
# mkdir -p $HOME/.ssh
15-
# install -m 600 -D /dev/null $HOME/.ssh/id_rsa
16-
# echo "$SSH_PRIVATE_KEY" > $HOME/.ssh/id_rsa
17-
# ssh -f -o StrictHostKeyChecking=no $TARGET_USER@$TARGET_HOSTNAME hostname
18-
#
19-
# - name: Install Ansible requirements
20-
# shell: bash
21-
# run: ansible-galaxy install -p roles -r requirements.yml
22-
#
23-
# - name: Create vault password
24-
# shell: bash
25-
# run: echo "$VAULT_PASSWORD" >.vault-password.txt
11+
- name: Make SSH connection
12+
shell: bash
13+
run: |
14+
mkdir -p $HOME/.ssh
15+
install -m 600 -D /dev/null $HOME/.ssh/id_rsa
16+
echo "$SSH_PRIVATE_KEY" > $HOME/.ssh/id_rsa
17+
ssh -f -o StrictHostKeyChecking=no $TARGET_USER@$TARGET_HOSTNAME hostname
18+
19+
- name: Install Ansible requirements
20+
shell: bash
21+
run: ansible-galaxy install -p roles -r requirements.yml
22+
23+
- name: Create vault password
24+
shell: bash
25+
run: echo "$VAULT_PASSWORD" >.vault-password.txt
2626

2727
# - name: Run galaxy.yaml playbook
2828
# shell: bash
@@ -36,32 +36,13 @@ runs:
3636
# shell: bash
3737
# run: ansible-playbook -vvv --limit $TARGET_HOSTNAME galaxy_tools.yml
3838

39-
# - name: Run galaxy_tests.yaml playbook
40-
# shell: bash
41-
# run: ansible-playbook -vvv --limit $TARGET_HOSTNAME galaxy_tests.yml
42-
43-
# - name: Publish HTML report from testing
44-
# uses: pavi2410/html-preview-action@v4
45-
# with:
46-
# html_file: '/tmp/test_tools_report.html'
47-
# job_summary: true
39+
- name: Run galaxy_tests.yaml playbook
40+
shell: bash
41+
run: ansible-playbook -vvv --limit $TARGET_HOSTNAME galaxy_tests.yml
4842

4943
- name: Upload test report to display
5044
uses: actions/upload-artifact@v4
5145
with:
5246
name: test-tool-report
5347
path: test_tools_report.html
5448
if-no-files-found: error
55-
compression-level: 0 # no compression
56-
57-
- name: HTML Preview
58-
id: html_preview
59-
uses: pavi2410/html-preview-action@v2
60-
with:
61-
html_file: 'test_tools_report.html'
62-
63-
# - name: Publish HTML report from testing
64-
# uses: turing85/publish-report@v2
65-
# with:
66-
# checkout: true
67-
# report-path: test_tools_report.html

galaxy_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
- name: Generate report from ephemeris output
3535
local_action:
3636
module: ansible.builtin.shell
37-
cmd: /tmp/test_tools/bin/planemo test_reports --test_output $GITHUB_WORKSPACE/test_tools_report.html --test_output_text test_tools_report.txt test_tools_report.json
37+
cmd: /tmp/test_tools/bin/planemo test_reports --test_output test_tools_report.html --test_output_text test_tools_report.txt test_tools_report.json
3838

3939
- name: Display simple report from ephemeris output
4040
local_action:

0 commit comments

Comments
 (0)