Skip to content

Merge pull request #123 from NaturalHistoryMuseum/josh/fix_210_tests #121

Merge pull request #123 from NaturalHistoryMuseum/josh/fix_210_tests

Merge pull request #123 from NaturalHistoryMuseum/josh/fix_210_tests #121

Workflow file for this run

name: Tests
on:
push:
workflow_dispatch:
jobs:
test_latest:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Build images
run: docker-compose build
- name: Run tests
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.ldap
test_next:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Build images
run: docker-compose build
- name: Run tests
run: docker-compose run next bash /opt/scripts/run-tests.sh -c ckanext.ldap