Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Init GitHub Actions (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
edxu96 committed Jan 24, 2021
1 parent 7293f76 commit b53b4b6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: mgrid

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
name: CI build
runs-on: macos-latest

strategy:
matrix:
python-version: [3.7.1]
poetry-version: [1.1.4]

steps:
- uses: actions/checkout@master

- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
uses: snok/install-poetry@v1.1.1
with:
version: ${{ matrix.poetry-version }}

- name: Install dependencies
run: poetry install

- name: Check pre-commit
run: poetry run pre-commit install && poetry run pre-commit run --all-files

0 comments on commit b53b4b6

Please sign in to comment.