Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to GitHub Actions #521

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test cmake-cookbook

on:
push:
pull_request:

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v2

- name: Cache Poetry virtualenv
uses: actions/cache@v1
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ matrix.os }}-pypoetry-virtualenvs-${{ hashFiles('**/pyproject.toml') }}

- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install -v

- name: Run tests
run: |
poetry run python testing/collect_tests.py 'chapter-0[1-7]/recipe-*'
20 changes: 0 additions & 20 deletions Pipfile

This file was deleted.

308 changes: 0 additions & 308 deletions Pipfile.lock

This file was deleted.

20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

[tool.poetry]
name = "cmake-cookbook"
version = "0.0.0"
description = "CMake Cookbook"
authors = ["Radovan Bast <[email protected]>", "Roberto Di Remigio <[email protected]>"]

[tool.poetry.dependencies]
Sphinx = "3"
breathe = "4.19"
cffi = "1.12"
colorama = "0.4"
cython = "0.29"
docopt = "0.6"
numpy = "^1.17"
python = "^3.6"
pyyaml = "5.3"
8 changes: 0 additions & 8 deletions requirements.txt

This file was deleted.