Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hwdsl2 committed Jun 23, 2024
1 parent 8339f72 commit 3a3c28b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on: workflow_call

jobs:
check_urls:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository_owner == 'hwdsl2'
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
if: github.repository_owner == 'hwdsl2'
uses: ./.github/workflows/check_urls.yml

test_set_1:
needs: check_urls
uses: ./.github/workflows/test_set_1.yml

test_set_2:
needs: check_urls
uses: ./.github/workflows/test_set_2.yml
5 changes: 0 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@ on:
- '**.sh'
- '.github/workflows/main.yml'
- '.github/workflows/shellcheck.yml'
- '.github/workflows/test_set_1.yml'
- '.github/workflows/test_set_2.yml'

jobs:
shellcheck:
if: github.repository_owner == 'hwdsl2'
uses: ./.github/workflows/shellcheck.yml

test_set_1:
needs: shellcheck
uses: ./.github/workflows/test_set_1.yml

test_set_2:
needs: shellcheck
uses: ./.github/workflows/test_set_2.yml
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on: workflow_call

jobs:
shellcheck:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository_owner == 'hwdsl2'
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_set_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on: workflow_call

jobs:
test_set_1:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository_owner == 'hwdsl2'
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_set_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on: workflow_call

jobs:
test_set_2:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository_owner == 'hwdsl2'
strategy:
matrix:
Expand Down

0 comments on commit 3a3c28b

Please sign in to comment.