Add integration tests for testing Invenio package #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
# this ensures that tests are run when adding new tests or packages | |
- 'tests/**' | |
- 'validation_packages/**' | |
- '.github/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
# here, also run tests when a pr targets source files | |
- 'tests/**' | |
- 'validation_packages/**' | |
- '.github/**' | |
jobs: | |
build-and-test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.x.x | |
- name: Build and test | |
working-directory: ./ | |
run: dotnet test |