Skip to content

Commit

Permalink
Improve workflow (#42)
Browse files Browse the repository at this point in the history
- Continue on error
- Cache python dependencies
- Add name to build job
  • Loading branch information
syeopite authored Dec 29, 2024
1 parent 2b9c95a commit a9a1acd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: npf-renderer test
name: npf-renderer CI

on:
push:
Expand All @@ -10,8 +7,10 @@ on:
branches: [ "master" ]

jobs:
build:
build-test:
runs-on: ubuntu-latest
name: "Build and test on ${{matrix.python-version}}"
continue-on-error: true
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
Expand All @@ -23,6 +22,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Install dependencies
run: |
Expand Down

0 comments on commit a9a1acd

Please sign in to comment.