From 03a02f059031465d3d5e14f90b0be38f8339753d Mon Sep 17 00:00:00 2001 From: Katie Gardner <5213160+KatieLG@users.noreply.github.com> Date: Sun, 15 Dec 2024 16:37:34 +0000 Subject: [PATCH] move workflow to top directory --- {AOC/.github => .github}/workflows/python-tests.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename {AOC/.github => .github}/workflows/python-tests.yaml (71%) diff --git a/AOC/.github/workflows/python-tests.yaml b/.github/workflows/python-tests.yaml similarity index 71% rename from AOC/.github/workflows/python-tests.yaml rename to .github/workflows/python-tests.yaml index 28f3311..9c38a97 100644 --- a/AOC/.github/workflows/python-tests.yaml +++ b/.github/workflows/python-tests.yaml @@ -12,6 +12,9 @@ permissions: jobs: build: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./AOC/python steps: - uses: actions/checkout@v4 @@ -20,22 +23,17 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 - working-directory: ./python with: - python-version-file: 'pyproject.toml' + python-version-file: './AOC/python/pyproject.toml' - name: Set up Python - working-directory: ./python run: uv python install - name: Install requirements - working-directory: ./python run: uv sync - name: Lint - working-directory: ./python run: make lint - name: Test - working-directory: ./python run: make test