mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 20:13:41 +02:00
CI targets changed
This commit is contained in:
parent
0efd8a3c6d
commit
62c5199865
1 changed files with 7 additions and 8 deletions
15
.github/workflows/CI.yml
vendored
15
.github/workflows/CI.yml
vendored
|
@ -1,6 +1,11 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -9,7 +14,7 @@ jobs:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
os: ["ubuntu-latest", "macos-latest"]
|
os: ["ubuntu-latest", "macos-latest"]
|
||||||
python-version: ["3.6", "3.8", "3.10"]
|
python-version: ["3.6", "3.8", "3.9"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
|
@ -21,17 +26,11 @@ jobs:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
- name: Display Python version number
|
|
||||||
run: |
|
|
||||||
python -c "import sys; print(sys.version)"
|
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pip install pytest
|
pip install pytest
|
||||||
python -c "import numpy; print(numpy.__version__)"
|
|
||||||
python -c "import matplotlib; print(matplotlib.__version__)"
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest
|
run: pytest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue