From d346f59b6ec2195b1d2c5ab93c2b7be1ad3186d9 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 7 Feb 2024 15:06:29 -0600 Subject: [PATCH] Switch to workflow_call for GitHub Actions CI (#4) --- .github/workflows/ci.yaml | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a177ea2..f3cef12 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,3 +1,4 @@ +--- name: Run tests on: @@ -6,26 +7,5 @@ on: pull_request: jobs: - setup: - runs-on: ubuntu-latest - outputs: - strategy: ${{steps.load.outputs.strategy}} - - steps: - - uses: actions/checkout@v3 - with: - repository: colcon/ci - - id: load - run: echo "strategy=$(echo $(cat strategy.json))" >> $GITHUB_OUTPUT - pytest: - needs: [setup] - strategy: ${{fromJson(needs.setup.outputs.strategy)}} - runs-on: ${{matrix.os}} - - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: ${{matrix.python}} - - uses: colcon/ci@v1 + uses: colcon/ci/.github/workflows/pytest.yaml@main