Skip to content

Commit

Permalink
Update GitHub workflow configurations
Browse files Browse the repository at this point in the history
Update actions to run on pull requests as well as main.
Update the actions to their latest versions.
Skip the dev environment setup as it isn't currently needed.
  • Loading branch information
dpranke committed Mar 16, 2024
1 parent f9e177d commit 4c02ffd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Python package

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

jobs:
build:
Expand All @@ -11,14 +15,10 @@ jobs:
python-version: [3.8, 3.12]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
- name: Run tests
run: python run tests

0 comments on commit 4c02ffd

Please sign in to comment.