Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ztsv-av committed Dec 9, 2024
1 parent 4ffe21d commit c72b833
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/github-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GitHub Actions Docker Build and Test
name: GitHub Actions Docker & Python Build and Test

on:
push:
Expand All @@ -24,13 +24,12 @@ jobs:

- name: Run tests inside Docker container
run: docker run --rm reproducible_dl pytest

python-test: # python
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest] # test on both Ubuntu and Windows
python-version: ['3.9.19']
python-version: ['3.9']

steps:
Expand All @@ -49,8 +48,11 @@ jobs:
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
- name: Run tests
run: pytest

0 comments on commit c72b833

Please sign in to comment.