Skip to content

Commit

Permalink
Create install.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni committed May 15, 2024
1 parent 32b373a commit 77ab30d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Install Tests
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- main
jobs:
install:
name: ${{ matrix.os }} - ${{ matrix.python_version }} install
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest]
python_version: ["3.8", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- name: Set up python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- uses: actions/checkout@v4
- name: Build package
run: |
make package
- name: Install package
run: |
python -m pip install "unpacked_sdist/."
- name: Test by importing packages
run: |
python -c "import sdv"
python -c "import sdv;print(sdv.version.public)"
- name: Check package conflicts
run: |
python -m pip check

0 comments on commit 77ab30d

Please sign in to comment.