Skip to content

Bump dependency

Bump dependency #49

Workflow file for this run

name: Test cross-platform libs (Win)
on:
pull_request:
branches:
- main
- master
- staging
paths:
- '**/*cs'
- '**/*csproj'
- '**/*sln'
- '**/*xaml'
- '**/*resx'
- '**/*config'
- '**/test-win.yml'
workflow_dispatch:
jobs:
test_resources:
runs-on: 'windows-latest'
name: 'windows-latest'
defaults:
run:
shell: pwsh
env:
GITHUB_NUGET_RO: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download test data
run: |
New-Item -Type Directory -ErrorAction SilentlyContinue tests/TestData
Invoke-WebRequest https://fits.gsfc.nasa.gov/samples/UITfuv2582gc.fits -OutFile tests/TestData/UITfuv2582gc.fits
Invoke-WebRequest https://fits.gsfc.nasa.gov/nrao_data/tests/nost_headers/bitpix13.fits -OutFile tests/TestData/unsupp_bitpix.fits
- name: Run cross-platform tests
run: |
dotnet test tests -c Release