Merge pull request #34 from fzipp/dependabot/go_modules/cmd/oberon-em… #118
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 | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update packages | |
run: sudo apt-get update | |
- name: Install dev packages | |
run: sudo apt-get install -y libsdl2-dev | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.x' | |
- name: Run tests | |
run: go test -cover ./... | |
- name: Run tests for cmd/oberon-emu | |
working-directory: cmd/oberon-emu | |
run: go test -cover ./... | |
- name: Run tests for cmd/oberon-emu-sdl | |
working-directory: cmd/oberon-emu-sdl | |
run: go test -cover ./... |