Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/amd64

act -j python-tests --container-architecture linux/amd64
```