Skip to content

Commit

Permalink
Improve CI config
Browse files Browse the repository at this point in the history
In particular, test multiple python versions.
  • Loading branch information
Donaim committed Oct 28, 2024
1 parent 0436852 commit 2c60dff
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@

name: main

on:
push:
branches: [ "master", "devel" ]
pull_request:
branches: [ "master", "devel" ]

on: push
jobs:
quicktest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "latest"]
steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y python3 python3-pip
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Run build
run: pip3 install .[test]
Expand Down

0 comments on commit 2c60dff

Please sign in to comment.