Skip to content

Add Day 17 solution #40

Add Day 17 solution

Add Day 17 solution #40

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.REPO_TOKEN }}
- name: Build main Docker image
run: docker build -t aoc2023 .
- name: Build test Docker image
run: docker build -t aoc2023-test -f Dockerfile.test .
- name: Run tests in Docker container
run: docker run --name aoc2023-test-run aoc2023-test
- name: Copy test results from Docker container
run: docker cp aoc2023-test-run:/opt/aoc/lcov.info .
- name: Upload test results to Codecov
uses: codecov/codecov-action@v3
with:
files: ./lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}