Skip to content

Commit

Permalink
uiua tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KatieLG committed Dec 15, 2024
1 parent 9f9df4b commit f16fb6f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: './AOC/python/pyproject.toml'

- name: Set up Python
run: uv python install

Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/uiua-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Uiua tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
run-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./AOC/uiua
steps:
- uses: actions/checkout@v4

- name: Install Rust and Cargo
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install Uiua
run: cargo install --git https://github.com/uiua-lang/uiua uiua

- name: Run uiua tests
run: uiua run tests/test_solutions.ua

0 comments on commit f16fb6f

Please sign in to comment.