Skip to content

Commit

Permalink
Change GHA checkout version in translation tests (#3084)
Browse files Browse the repository at this point in the history
  • Loading branch information
nph4rd authored Feb 22, 2020
1 parent bc989cb commit b96a9b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/translated-tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
python-version: [3.6, 3.7]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
Expand All @@ -39,5 +39,5 @@ jobs:
python setup.py install
- name: Test with pytest
run: |
git diff --name-only ${{ github.base_ref }} examples/tutorials/translations/ > ./test/notebooks/git-diff.txt
git diff --name-only ${{ github.event.before }} ${{ github.sha }} examples/tutorials/translations/ > ./test/notebooks/git-diff.txt
pytest test/notebooks/test_notebooks.py::test_notebooks_basic_translations_diff

0 comments on commit b96a9b0

Please sign in to comment.