Skip to content

Commit

Permalink
ci: switch back to a single workflow test file but with multiple jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdh committed Sep 20, 2023
1 parent 44e14bb commit cef12b6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/test_latest.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
workflow_dispatch:

jobs:
test:
test_latest:
name: Run tests against ckantest latest
runs-on: ubuntu-latest

steps:
Expand All @@ -19,3 +20,17 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: docker-compose run -e COVERALLS_REPO_TOKEN latest bash /opt/scripts/run-tests.sh -c ckanext.doi

test_next:
name: Run tests against ckantest next
runs-on: ubuntu-latest

steps:
- name: Checkout source code
uses: actions/checkout@v3

- name: Build images
run: docker-compose build

- name: Run tests against next
run: docker-compose run -e COVERALLS_REPO_TOKEN next bash /opt/scripts/run-tests.sh -c ckanext.doi
19 changes: 0 additions & 19 deletions .github/workflows/test_next.yml

This file was deleted.

0 comments on commit cef12b6

Please sign in to comment.