Skip to content

WIP: CI: Limit tests #103

WIP: CI: Limit tests

WIP: CI: Limit tests #103

Workflow file for this run

name: Test, build, publish
# Run tests (all branches),
# for tags build wheels, publish wheels to PyPI and Github Releases.
on: [push, pull_request]
jobs:
run-tests:
env:
not_in_conda: "[]"
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7"]
include:
- os: ubuntu-latest
os-name: Linux
pip-cache-path: ~/.cache/pip
name: Python ${{ matrix.python-version }} @ ${{ matrix.os-name }}
runs-on: ${{ matrix.os }}
steps:
- name: Build on Linux/aarch64
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu22.04
env: |
PY_VER: ${{ matrix.python-version }}
run: |
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh -bu
$HOME/miniforge3/condabin/conda create -n $PY_VER python=$PY_VER
if: ${{ runner.os == 'Linux' }}