Rename problems.Store interface's methods. Add Judge tests. #442
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y cython3 pandoc gccgo pypy3 python3-dev libpython3-all-dev g++ gcc build-essential | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... |