Skip to content

Commit

Permalink
refactor(ci-workflow): use new actions schema
Browse files Browse the repository at this point in the history
github should add some deprecation notices
  • Loading branch information
ncs-pl committed Aug 8, 2022
1 parent ebc16f0 commit 12cc993
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
python-version: ${{ matrix.python_version }}
cache: pip
- name: Install dependencies
run:
- python -m pip install --upgrade pip
- pip install pytest pytest-cov
- pip install -r requirements.txt
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install -r requirements.txt
- name: Test application with pytest
run:
- pytest --doctest-modules --junitxml=junit/test-results.xml .
run: |
pytest --doctest-modules --junitxml=junit/test-results.xml .
- name: Upload test artifacts
uses: actions/upload-artifact@v3
with:
Expand All @@ -50,10 +50,10 @@ jobs:
python-version: 3.10
cache: pip
- name: Install dependencies
run:
- python -m pip install --upgrade pip
- pip install flake8
- pip install -r requirements.txt
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements.txt
- name: Check lint and style
run:
- flake8 --count --show-source --statistics --max-complexity=10 .
run: |
flake8 --count --show-source --statistics --max-complexity=10 .

0 comments on commit 12cc993

Please sign in to comment.