Skip to content

tests: fix github test runner #166

tests: fix github test runner

tests: fix github test runner #166

Workflow file for this run

name: Tests
on:
push:
workflow_dispatch:
jobs:
test_latest:
name: Run tests against ckantest latest
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Build images
run: docker compose build
- name: Run tests against latest
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