No async because Piero is paniking #1126
Workflow file for this run
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: Cheshire-Cat Action on Pull Requests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: [main, develop] | |
push: | |
branches: [main, develop] | |
jobs: | |
linter: | |
name: "Run linter" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: chartboost/ruff-action@v1 | |
test: | |
name: "Run Tests" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cat up | |
run: docker compose up -d | |
- name: Test | |
run: docker exec cheshire_cat_core python -m pytest --color=yes . | |
- name: Cat down | |
run: docker compose down |