Clean up code samples #96
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: run-code-checks | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
run-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Build Docker image 🐳 | |
run: | | |
docker build -t cladetime . | |
- name: lint 🧹 | |
run: | | |
docker run --entrypoint /bin/bash cladetime \ | |
-c "ruff check" | |
- name: run unit tests 🧪 | |
run: | | |
docker run --entrypoint /bin/bash cladetime \ | |
-c "pytest -k unit" |