nix-eval-jobs/.github/workflows/test-develop-flakes.yml
dependabot[bot] 4a08b3d7aa
Bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:12:51 +00:00

23 lines
536 B
YAML

name: "Development workflow - flakes"
on:
pull_request:
push:
branches:
- main
jobs:
tests:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v16
- name: Build
run: nix develop -c bash -c 'meson build && cd build && ninja'
- name: Run tests
run: nix develop -c pytest ./tests