-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 923 Bytes
/
install.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Test installation
on:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * 3'
jobs:
test-pypi-install:
name: Test PyPI install (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- name: Set up Python "${{ matrix.python-version }}"
id: setup-python
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- name: Install
run: |
pip install --upgrade pip
pip install fgen-example
- name: Checkout repository
uses: actions/checkout@v4
- name: Test installation
run: |
which python
python scripts/test-install.py