Skip to content

Merge pull request #10 from Nicals/2_optional_puzzle_input #35

Merge pull request #10 from Nicals/2_optional_puzzle_input

Merge pull request #10 from Nicals/2_optional_puzzle_input #35

Workflow file for this run

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