Skip to content

Feature/ans 39

Feature/ans 39 #50

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Zig
uses: mlugg/setup-zig@v1
with:
version: master
- name: Download FITS file
run: |
curl -o ${{ github.workspace }}/test/table.fits http://data.astropy.org/tutorials/FITS-tables/chandra_events.fits
working-directory: ${{ github.workspace }}
- name: Run `test`
run: zig build test --summary all
working-directory: ${{ github.workspace }}
fmt:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Zig
uses: mlugg/setup-zig@v1
with:
version: master
- name: Run `fmt`
run: zig build fmt