mirror of
https://github.com/dwinkler1/fran.git
synced 2026-02-19 22:50:59 -05:00
Hopefully faster testing on ubuntu
This commit is contained in:
parent
93cbfe79ca
commit
ea50f2221d
1 changed files with 20 additions and 2 deletions
22
.github/workflows/check.yml
vendored
22
.github/workflows/check.yml
vendored
|
|
@ -9,11 +9,29 @@ concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests-ubuntu:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest macos-latest]
|
os: [ubuntu-latest]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@20
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- uses: cachix/cachix-action@v16
|
||||||
|
with:
|
||||||
|
name: rde
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
extraPullNames: rstats-on-nix, nix-community
|
||||||
|
- run: nix build .
|
||||||
|
- run: nix flake check . --all-systems
|
||||||
|
- run: nix develop -c Rscript test/test.R
|
||||||
|
test-darwin:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- uses: DeterminateSystems/nix-installer-action@20
|
- uses: DeterminateSystems/nix-installer-action@20
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue