Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sleepypioneer/advent-of-code
A repository for solutions of the advent of code.
https://github.com/sleepypioneer/advent-of-code
Last synced: 2 days ago
JSON representation
A repository for solutions of the advent of code.
- Host: GitHub
- URL: https://github.com/sleepypioneer/advent-of-code
- Owner: sleepypioneer
- License: mit
- Created: 2023-12-01T12:18:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-19T14:44:00.000Z (about 1 year ago)
- Last Synced: 2023-12-19T17:49:46.765Z (about 1 year ago)
- Language: Python
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2023
Following along challenges here https://adventofcode.com/2023
## Running
### Install dependencies
```bash
poetry install
```### Run individual days
example for day 1
```bash
poetry run python -m 2023.day_1.main
```### Run tests
```bash
poetry run pytest
```## Workflows
There are multiple workflows setup to run tests and linting on push requests via GitHub Actions. You can also run these locally with [act](https://github.com/nektos/act) using the command:
```bash
# list all workflows
act list --container-architecture linux/amd64 # optional only for mac os# run a specific workflow
act -j python-lint --container-architecture linux/amd64act -j python-tests --container-architecture linux/amd64
```