-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from michamos/no-author-conflicts-arxiv-on-pu…
…blisher config: ignore arXiv author updates when published
- Loading branch information
Showing
3 changed files
with
12 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,31 +11,34 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python-version: [2.7, 3.6] | ||
include: | ||
- python: python3 | ||
pip: pip3 | ||
- python: python2 | ||
pip: pip | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Cache Python | ||
uses: actions/[email protected] | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ github.sha }} | ||
key: ${{ runner.os }}-pip-${{ matrix.python }}-${{ github.sha }} | ||
|
||
- name: Install python dependencies | ||
uses: ./.github/actions/install-python-dependencies | ||
run: | | ||
${{ matrix.pip }} install --user --upgrade pip | ||
${{ matrix.pip }} --no-cache-dir install --user setuptools wheel "urllib3==1.25.11" | ||
${{ matrix.pip }} --no-cache-dir install --user -r requirements.txt | ||
- name: Show python dependencies | ||
run: pip freeze | ||
${{ matrix.python }} --version | ||
${{ matrix.pip }} freeze | ||
|
||
- name: Run tests | ||
uses: ./.github/actions/run-tests | ||
|
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