Feature/fix actions upload download #1277
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: Pull Request | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.9', '3.10', '3.11' ] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3.5.0 | |
- name: Set up Python 🐍 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install tox 🧰 | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Lint Syntax 🧪🖋 | |
run: tox -e lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3.5.0 | |
- name: Set up Python 🐍 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install tox 🧰 | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Test & Coverage 🧪 | |
run: tox -e test | |
- name: Upload Coverage Report 🔺📊 | |
uses: codecov/codecov-action@v4.5.0 | |
with: | |
flags: pytests | |
name: Python ${{ matrix.python-version }} | |
env_vars: PYTHON | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} | |
# integration-test: | |
# runs-on: ubuntu-latest | |
# concurrency: | |
# group: ${{ github.ref }} | |
# cancel-in-progress: true | |
# steps: | |
# - name: Checkout 🛎️ | |
# uses: actions/checkout@v3.5.0 | |
# | |
# - name: Integration Tests | |
# env: | |
# OPENSHIFT_URL: ${{ secrets.OPENSHIFT_URL }} | |
# OPENSHIFT_USER: ${{ secrets.OPENSHIFT_USER }} | |
# OPENSHIFT_PASSWORD: ${{ secrets.OPENSHIFT_PASSWORD }} | |
# PSR_BRANCH: ${{ github.ref }} | |
# run: | | |
# ./tests/integration/run-integration-tests.sh | |