2022-09-27 14:37:53 -04:00

34 lines
568 B
YAML

name: Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
tests_2020:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cd 2020 && cargo build --verbose
- name: Run tests
run: cd 2020 && cargo test --verbose
tests_2021:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cd 2021 && cargo build --verbose
- name: Run tests
run: cd 2021 && cargo test --verbose