Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the advent of code test suite to the github actions #35

Merged
merged 1 commit into from
Dec 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,22 @@ jobs:
- id: running-pytest
run: cd tests; pytest

test-advent-of-code-solutions:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- id: install-python-deps
run: pip3 install -r requirements.txt
- id: build-meson
run: mkdir install && meson builddir --prefix $(pwd)/install && cd builddir && ninja && ninja install
- id: clone-advent-of-code
run: git clone https://x-access-token:${{ secrets.PIPELINE_PAT }}@github.com/ricardicus/ric-script-advent-of-code.git && cp builddir/src/ric ric-script-advent-of-code/ric-script
- id: run-advenct-of-code-tests
run: cd ric-script-advent-of-code/tests && pytest

build-and-test-windows-dyn-lib:

runs-on: ${{ matrix.os }}
Expand Down
Loading