forked from py4dstem/py4DSTEM
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.53 KB
/
check_install_quick.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
name: Install Checker Quick
on:
push:
branches-ignore:
- main
- dev
pull_request:
branches-ignore:
- main
- dev
jobs:
test-python-os-versions:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }} on ${{ matrix.architecture }}
continue-on-error: ${{ matrix.allow_failure }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
allow_failure: [false]
runs-on: [ubuntu-latest]
architecture: [x86_64]
python-version: ["3.10", "3.12"]
# Currently no public runners available for this but this or arm64 should work next time
# include:
# - python-version: "3.10"
# architecture: [aarch64]
# runs-on: macos-latest
# allow_failure: true
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install repo
run: |
python -m pip install .
- name: Check installation
run: |
python -c "import py4DSTEM; print(py4DSTEM.__version__)"
# - name: Check machine arch
# run: |
# python -c "import platform; print(platform.machine())"