Add retry for each problem #227
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: Run unit tests & integration tests | |
on: | |
push: | |
branches: [ stable ] | |
pull_request: | |
branches: [ stable ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.8', '3.11' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
- name: Add path for Poetry | |
run: echo "$HOME/.poetry/bin" >> $GITHUB_PATH | |
- name: Install Dependencies | |
run: poetry install --no-interaction | |
# Install Compilers for integration tests | |
- name: Install D compiler | |
uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: dmd-latest | |
- name: Install Jilia | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: 1.9.2 | |
- name: Install nim | |
uses: iffy/install-nim@v4 | |
with: | |
version: 1.6.14 | |
- name: Install other compilers | |
run: | | |
sudo apt-get update | |
sudo apt-get install mono-complete | |
- name: Run Unit Tests and Integration Tests | |
run: | | |
poetry run atcoder-tools gen arc050 --without-login | |
poetry run nosetests tests --exe -v --with-coverage --cover-package=atcodertools | |
poetry run codecov |