Skip to content

Commit

Permalink
fix(akande): 🐛 fixed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Feb 10, 2024
1 parent 2117485 commit 9759849
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,6 @@ jobs:
run: |
echo "::set-output name=version::$(python -c 'import configparser; cfg = configparser.ConfigParser(); cfg.read("setup.cfg"); print(cfg.get("metadata", "version"))')"
# This job runs unit tests using pytest
# pytest:
# needs: version
# runs-on: ubuntu-latest
# steps:
# # Check out the repository code
# - uses: actions/checkout@v4

# # Set up Python and install dependencies
# - name: ❯ Set up Python and install dependencies 🐍📦
# uses: actions/setup-python@v2
# with:
# python-version: "3.9"
# - name: ❯ Install dependencies 📦
# run: |
# python -m pip install --upgrade pip
# python -m pip install -r requirements.txt
# python -m pip install pytest pytest-cov

# Run pytest
# - name: ❯ Run pytest 🧪
# run: pytest --cov=akande --cov-report=xml

# Upload code coverage report to Codecov
# - name: ❯ Upload code coverage report to Codecov 📊
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
# uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}

# This job runs flake8 to check for code style issues
lint:
needs: version
Expand All @@ -78,7 +48,7 @@ jobs:
# This job builds the distribution packages, and publishes them
# to PyPI
build:
needs: [version, pytest]
needs: [version, lint]
runs-on: ubuntu-latest
env:
TWINE_USERNAME: __token__
Expand Down

0 comments on commit 9759849

Please sign in to comment.