mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
add other OSes
This commit is contained in:
parent
53565c216c
commit
5f52f72a94
1 changed files with 26 additions and 25 deletions
51
.github/workflows/python-app.yml
vendored
51
.github/workflows/python-app.yml
vendored
|
@ -10,33 +10,34 @@ on:
|
||||||
branches: [ develop ]
|
branches: [ develop ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.7, 3.8, 3.9]
|
python-version: [3.7, 3.8, 3.9]
|
||||||
|
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
steps:
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- uses: actions/checkout@v2
|
||||||
uses: actions/setup-python@v2
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
with:
|
uses: actions/setup-python@v2
|
||||||
python-version: ${{ matrix.python-version }}
|
with:
|
||||||
- uses: actions/cache@v2
|
python-version: ${{ matrix.python-version }}
|
||||||
with:
|
- uses: actions/cache@v2
|
||||||
path: |
|
with:
|
||||||
.venv
|
path: |
|
||||||
~/.cache/pip
|
.venv
|
||||||
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}
|
~/.cache/pip
|
||||||
- name: Install dependencies
|
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}-${{ matrix.python-version }}
|
||||||
run: |
|
- name: Install dependencies
|
||||||
pip install poetry
|
run: |
|
||||||
poetry config --local virtualenvs.in-project true
|
pip install poetry
|
||||||
poetry install --remove-untracked
|
poetry config --local virtualenvs.in-project true
|
||||||
- name: Test with pytest
|
poetry install --remove-untracked
|
||||||
run: |
|
- name: Test with pytest
|
||||||
poetry run pytest
|
run: |
|
||||||
- name: Test with behave
|
poetry run pytest
|
||||||
run: |
|
- name: Test with behave
|
||||||
poetry run behave --no-skipped --format progress2
|
run: |
|
||||||
|
poetry run behave --no-skipped --format progress2
|
||||||
|
|
Loading…
Add table
Reference in a new issue