Skip to content

Commit

Permalink
Change Key and name to better document CI. (#890)
Browse files Browse the repository at this point in the history
* Change Key and name to better document CI.

* Update for CI to be like main.yml

* Revert one change to test why extra tests are happening in CI>

* Fix syntax/typo
  • Loading branch information
priti-ashvin-shah-ibm authored Dec 22, 2022
1 parent f1494eb commit 7da6448
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U virtualenv setuptools wheel tox
pip install -U virtualenv setuptools wheel git+https://github.com/tox-dev/tox.git@3.28.0
sudo apt update
sudo apt-get install graphviz pandoc qt5-default
- name: Build and publish
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
# NOTE: The ubuntu-latest and macos-latest tests have been separated out because ubuntu
# requires installing some additional libraries (libglu1-mesa) for Gmsh to run. Please
# consider this aspect before combining the tests for both the OS platforms.
# consider this aspect before combining the tests for both the OS platforms.
ubuntu-tests:
# Name the Job
name: tests-python${{ matrix.python-version }}-ubuntu-latest
Expand All @@ -29,11 +29,11 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ubuntu-latest-${{ matrix.python-version }}-pip-tests-${{ hashFiles('setup.py','requirements-dev.txt','requirements.txt') }}
key: ubuntu-20.04-${{ matrix.python-version }}-pip-tests-${{ hashFiles('setup.py','requirements-dev.txt','requirements.txt') }}
restore-keys: |
ubuntu-latest-${{ matrix.python-version }}-pip-tests-
ubuntu-latest-${{ matrix.python-version }}-pip-
ubuntu-latest-${{ matrix.python-version }}
ubuntu-20.04-${{ matrix.python-version }}-pip-tests-
ubuntu-20.04-${{ matrix.python-version }}-pip-
ubuntu-20.04-${{ matrix.python-version }}
- name: Install Deps
run: |
python -m pip install -U git+https://github.com/tox-dev/tox.git@3.28.0 setuptools virtualenv wheel
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
jobs:
wheel-build:
name: Build and Publish Release Artifacts
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: "3.9"
python-version: "3.10"
- name: Install Deps
run: pip install -U twine wheel
- name: Build Artifacts
Expand Down

0 comments on commit 7da6448

Please sign in to comment.