Skip to content

Commit

Permalink
fix: test container
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Feb 5, 2024
1 parent 1df30c0 commit af1fc24
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
container: node:18
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -14,17 +15,11 @@ jobs:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run ATS
uses: codecov/codecov-ats@v0
env:
CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}
- name: Run tests and collect coverage
run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
run: pytest --cov app
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
uses: codecov/codecov-action@v4
with:
flags: smart-tests
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit af1fc24

Please sign in to comment.