Create tests-github-runner.yml #6
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: Tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test-posts-uservice: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Alias docker-compose to docker compose | |
run: alias docker-compose='docker compose' | |
- name: Print docker-compose version | |
run: docker-compose --version | |
- name: Run tests via docker | |
working-directory: ./server/services/posts-uservice | |
run: make docker-test-debug |