issue #6 Split puzzle decorators from Puzzle class #36
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: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: pip install -e .[dev] | |
- name: Run test | |
run: pytest --cov --cov-report lcov | |
- name: Check typing | |
run: mypy | |
- name: Check style | |
run: ruff check --output-format=github . | |
- name: Upload coverage report | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./coverage.lcov | |
- name: Purge coverage badge cache | |
run: curl -X PURGE https://camo.githubusercontent.com/78a97fb511c5bbb2ef64b7489d5668d6fc419d3a84648c943e6fd50ddb508990/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4e6963616c732f7361756c76652f62616467652e7376673f6272616e63683d6d6173746572266b696c6c5f63616368653d31 |