WIP: CI: Limit tests #103
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' }} |