From 62855d45ba152b4fd05ef9830ea6a4ce46f8fc44 Mon Sep 17 00:00:00 2001 From: William Kearney Date: Thu, 23 May 2024 10:14:05 +0200 Subject: [PATCH] Add a basic CI workflow to build the package .github/workflows/ci.yaml implements a GitHub Actions workflow that builds the package on Ubuntu, macOS, and Windows. --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..40d03c0 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: CI +on: + pull_request: + push: + branches: ["main"] +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + steps: + - uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: Install package + run: python -m pip install .