mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01: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
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@ -9,7 +14,7 @@ jobs:
|
|||
fail-fast: true
|
||||
matrix:
|
||||
os: ["ubuntu-latest", "macos-latest"]
|
||||
python-version: ["3.6", "3.8", "3.10"]
|
||||
python-version: ["3.6", "3.8", "3.9"]
|
||||
|
||||
steps:
|
||||
- name: Checkout source
|
||||
|
@ -21,17 +26,11 @@ jobs:
|
|||
python-version: ${{ matrix.python-version }}
|
||||
architecture: x64
|
||||
|
||||
- name: Display Python version number
|
||||
run: |
|
||||
python -c "import sys; print(sys.version)"
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -e .
|
||||
pip install pytest
|
||||
python -c "import numpy; print(numpy.__version__)"
|
||||
python -c "import matplotlib; print(matplotlib.__version__)"
|
||||
|
||||
- name: Run tests
|
||||
run: pytest
|
||||
|
|
Loading…
Add table
Reference in a new issue