Skip to content

Update track tooling for v3 structure changes #2311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 2, 2021
42 changes: 19 additions & 23 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v2.2.1
with:
python-version: 3.7
python-version: 3.8

- name: Download & Install dependencies
run: |
Expand All @@ -28,13 +28,13 @@ jobs:
git clone https://github.com/exercism/problem-specifications spec
pip install -r requirements-generator.txt

- name: Check readmes
run: |
./bin/check-readmes.sh
# - name: Check readmes
# run: |
# ./bin/check-readmes.sh

#- name: Generate tests
# run: |
# bin/generate_tests.py --verbose -p spec --check
- name: Generate tests
run: |
bin/generate_tests.py --verbose -p spec --check

- name: Lint with flake8
run: |
Expand All @@ -43,16 +43,10 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

#- name: Test version status
# run: |
# ./bin/check-test-version.py -p spec

# TODO: cmccandless: directory and config.json structure changed in v3 migration,
# updates needed to tooling
# - name: Test template status
# continue-on-error: true
# run: |
# ./bin/template_status.py -v -p spec
- name: Test template status
continue-on-error: true
run: |
./bin/template_status.py -v -p spec

canonical_sync:
runs-on: ubuntu-16.04
Expand All @@ -67,8 +61,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# TODO: cmccandless: directory and config.json structure changed in v3 migration,
# updates needed to tooling
# - name: Check exercises
# run: |
# ./test/check-exercises.py
- name: Install dataclasses package
if: ${{ matrix.python-version == '3.6' }}
run: pip install dataclasses

- name: Check exercises
run: |
./bin/test_exercises.py
Loading