test #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: analytics | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Start GitLab + other services | |
run: docker compose up -d | |
- name: Initialize GitLab + runner | |
run: | | |
chmod +x dev/init-gitlab.sh | |
./dev/init-gitlab.sh | |
- name: Run tests | |
run: docker compose run --rm django tox -e test |