working example code #5
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: build and test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4.0.0 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Build | |
run: dotnet build OpenMeteo | |
- name: Test | |
run: dotnet test OpenMeteo.Tests |