mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 01:31:39 -05:00
Merge pull request #85 from purcell/github-actions
Add simple github actions checks
This commit is contained in:
commit
b3defab60e
1 changed files with 26 additions and 0 deletions
26
.github/workflows/ci.yml
vendored
Normal file
26
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- '**.md'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
nixpkgs_version: ["19.09", "master"]
|
||||||
|
# os: [ubuntu-latest, macos-latest]
|
||||||
|
|
||||||
|
env:
|
||||||
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/${{ matrix.nixpgs_version }}.tar.gz"
|
||||||
|
steps:
|
||||||
|
- uses: cachix/install-nix-action@v8
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Run tests
|
||||||
|
run: nix-shell -p git --run "nix-build --no-out-link --show-trace tests"
|
||||||
|
- name: Check format
|
||||||
|
run: ./check-fmt
|
Loading…
Add table
Reference in a new issue