Skip to content

Commit

Permalink
[Fix]: fix workflow files slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
yutaro-sakamoto committed Oct 17, 2023
1 parent 7af3042 commit 6d6918b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
# Run tests 10:00 PM (JST) every day
schedule:
- cron: '3 11 * * *'
- cron: '0 13 * * *'

env:
COBOL4J_LIB_DIR: /usr/lib/opensourcecobol4j
Expand Down Expand Up @@ -135,20 +135,4 @@ jobs:
run: |
cd tests
cp ../.github/workflows/db-settings/embed_db_info_postgresql_15.sh embed_db_info.sh
make test
# Create an issue if one or more tests fail in scheduled tests
create-issue-on-failure:
needs: Open-COBOL-ESQL-4j-tests
#if: failure() && github.event_name == 'schedule' && github.actor == 'opensourcecobol'
if: ${{ always() && github.event_name == 'schedule' && github.actor == 'yutaro-sakamoto' && needs.Open-COBOL-ESQL-4j-tests.result == 'failure' }}
runs-on: ubuntu-latest
steps:
- name: Create an Issue
uses: imjohnbo/issue-bot@v3
with:
assignees: "yutaro-sakamoto"
title: A scheduled build is failed
body: |
Scheduled build is failed.
See ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
make test
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tests
name: Make a coverage report

on:
push:
Expand Down

0 comments on commit 6d6918b

Please sign in to comment.