From 5a36d470a076a6d70a4c98496f653e141e9e40db Mon Sep 17 00:00:00 2001 From: Doug Guthrie Date: Wed, 6 Dec 2023 13:32:51 -0700 Subject: [PATCH] Update build workflow --- .github/workflows/build.yml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81b309f..2375b95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,25 +2,24 @@ name: Build on: pull_request_target: - branches: [ master ] + branches: [master] jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.9 - uses: actions/setup-python@v2 - with: - python-version: "3.9" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install poetry - make install_dev - - name: Run tests and coverage - run: make test_cov - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + - uses: actions/checkout@v3 + - name: Set up Python 3.9 + uses: actions/setup-python@v3 + with: + python-version: "3.9" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install poetry + make install_dev + - name: Run tests and coverage + run: make test_cov + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2